#4E2BB9#4E2BB9

#4E2BB9 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.2% C 0.205 H 285.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#4E2BB9
RGBrgb(78, 43, 185)
HSLhsl(255, 62%, 45%)
HSVhsv(255, 77%, 73%)
CMYKcmyk(57.8%, 76.8%, 0%, 27.5%)
CIE-LABlab(31.46, 51.44, -68.82)
CIE-LCHlch(31.46, 85.93, 306.78°)
OKLaboklab(43.22% 0.054 -0.1982)
OKLCHoklch(43.22% 0.205 285.2)
XYZxyz(12.7601, 6.8495, 46.5392)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2BB9 #96B92B
analogous
#2B4FB9 #4E2BB9 #952BB9
triadic
#4E2BB9 #B94E2B #2BB94E
tetradic
#4E2BB9 #B92B4F #96B92B #2BB995
square
#4E2BB9 #B92B4F #96B92B #2BB995
split-complementary
#4E2BB9 #B9952B #4FB92B
monochromatic
#241456 #391F87 #4E2BB9 #6E4CD5 #967EE1

Accessibility & contrast

On white

8.86
#4E2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E2BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2BB9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2BB9#FFFFFF#000000##FFFFFF
##4E2BB91.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#145471
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e2bb9;
/* rgb */ color: rgb(78, 43, 185);
/* oklch */ color: oklch(43.2% 0.205 285.2);
Tailwind
colors: {
  custom: {
    50: '#8c69cf',
    500: '#4e2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #4e2bb9;
$custom-light: #8c69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2bb9",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 254.789,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43219,
    "c": 0.20546,
    "h": 285.2
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#4E2BB9
secondary
#B5C976
accent
#E542BD
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4E2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

#4E2BB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva