#4E2ABB#4E2ABB

#4E2ABB is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.3% C 0.209 H 285.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4E2ABB
RGBrgb(78, 42, 187)
HSLhsl(255, 63%, 45%)
HSVhsv(255, 78%, 73%)
CMYKcmyk(58.3%, 77.5%, 0%, 26.7%)
CIE-LABlab(31.49, 52.49, -69.96)
CIE-LCHlch(31.49, 87.46, 306.88°)
OKLaboklab(43.3% 0.0541 -0.2015)
OKLCHoklch(43.3% 0.209 285)
XYZxyz(12.9368, 6.8627, 47.6470)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2ABB #97BB2A
analogous
#2A4EBB #4E2ABB #972ABB
triadic
#4E2ABB #BB4E2A #2ABB4E
tetradic
#4E2ABB #BB2A4E #97BB2A #2ABB97
square
#4E2ABB #BB2A4E #97BB2A #2ABB97
split-complementary
#4E2ABB #BB972A #4EBB2A
monochromatic
#241457 #391F89 #4E2ABB #6E4CD7 #967DE2

Accessibility & contrast

On white

8.85
#4E2ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2ABB
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2ABB#FFFFFF#000000##FFFFFF
##4E2ABB1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#105472
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e2abb;
/* rgb */ color: rgb(78, 42, 187);
/* oklch */ color: oklch(43.3% 0.209 285.0);
Tailwind
colors: {
  custom: {
    50: '#8c68d1',
    500: '#4e2abb',
    950: '#000000',
  },
}
SCSS
$custom: #4e2abb;
$custom-light: #8c68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2abb",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 254.897,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.20868,
    "h": 285
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#4E2ABB
secondary
#B6CA76
accent
#E641BD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4E2ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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