#4E2AB3#4E2AB3

#4E2AB3 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.200 H 286.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4E2AB3
RGBrgb(78, 42, 179)
HSLhsl(256, 62%, 43%)
HSVhsv(256, 77%, 70%)
CMYKcmyk(56.4%, 76.5%, 0%, 29.8%)
CIE-LABlab(30.71, 50.22, -66.50)
CIE-LCHlch(30.71, 83.33, 307.06°)
OKLaboklab(42.52% 0.0563 -0.1914)
OKLCHoklch(42.52% 0.2 286.4)
XYZxyz(12.1041, 6.5296, 43.2616)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2AB3 #8FB32A
analogous
#2A4BB3 #4E2AB3 #922AB3
triadic
#4E2AB3 #B34E2A #2AB34E
tetradic
#4E2AB3 #B32A4B #8FB32A #2AB392
square
#4E2AB3 #B32A4B #8FB32A #2AB392
split-complementary
#4E2AB3 #B3922A #4BB32A
monochromatic
#231350 #381E81 #4E2AB3 #6C46D4 #9378DF

Accessibility & contrast

On white

9.11
#4E2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2AB3
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2AB3#FFFFFF#000000##FFFFFF
##4E2AB31.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#1E516D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e2ab3;
/* rgb */ color: rgb(78, 42, 179);
/* oklch */ color: oklch(42.5% 0.200 286.4);
Tailwind
colors: {
  custom: {
    50: '#8b68cb',
    500: '#4e2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #4e2ab3;
$custom-light: #8b68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2ab3",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 255.766,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42518,
    "c": 0.19954,
    "h": 286.4
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#4E2AB3
secondary
#B1C772
accent
#E543BA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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