#5E30BD#5E30BD

#5E30BD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.204 H 290.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5E30BD
RGBrgb(94, 48, 189)
HSLhsl(260, 59%, 46%)
HSVhsv(260, 75%, 74%)
CMYKcmyk(50.3%, 74.6%, 0%, 25.9%)
CIE-LABlab(34.33, 52.40, -66.42)
CIE-LCHlch(34.33, 84.60, 308.27°)
OKLaboklab(45.73% 0.073 -0.1907)
OKLCHoklch(45.73% 0.204 290.9)
XYZxyz(14.8557, 8.1671, 48.9279)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E30BD #8FBD30
analogous
#3049BD #5E30BD #A530BD
triadic
#5E30BD #BD5E30 #30BD5E
tetradic
#5E30BD #BD3049 #8FBD30 #30BDA5
square
#5E30BD #BD3049 #8FBD30 #30BDA5
split-complementary
#5E30BD #BDA530 #49BD30
monochromatic
#2D175B #46248C #5E30BD #7F56D4 #A487E0

Accessibility & contrast

On white

7.97
#5E30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5E30BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E30BD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E30BD#FFFFFF#000000##FFFFFF
##5E30BD1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#3D5674
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e30bd;
/* rgb */ color: rgb(94, 48, 189);
/* oklch */ color: oklch(45.7% 0.204 290.9);
Tailwind
colors: {
  custom: {
    50: '#956dd2',
    500: '#5e30bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e30bd;
$custom-light: #956dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e30bd",
  "rgb": {
    "r": 94,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 259.574,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45733,
    "c": 0.2042,
    "h": 290.9
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#5E30BD
secondary
#B2CA7F
accent
#E345AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E30BD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5E30BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva