#4E3385#4E3385

#4E3385 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.8% C 0.132 H 294.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#4E3385
RGBrgb(78, 51, 133)
HSLhsl(260, 45%, 36%)
HSVhsv(260, 62%, 52%)
CMYKcmyk(41.4%, 61.7%, 0%, 47.8%)
CIE-LABlab(28.59, 31.90, -41.94)
CIE-LCHlch(28.59, 52.69, 307.26°)
OKLaboklab(39.8% 0.0554 -0.1194)
OKLCHoklch(39.8% 0.132 294.9)
XYZxyz(8.5582, 5.6806, 22.8313)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3385 #6A8533
analogous
#334185 #4E3385 #773385
triadic
#4E3385 #854E33 #33854E
tetradic
#4E3385 #853341 #6A8533 #338577
square
#4E3385 #853341 #6A8533 #338577
split-complementary
#4E3385 #857733 #418533
monochromatic
#1A112D #342259 #4E3385 #6844B1 #8A6CC7

Accessibility & contrast

On white

9.83
#4E3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4E3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3385
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3385#FFFFFF#000000##FFFFFF
##4E33851.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#0A4283
Tritanopia (blue-blind)
#404557
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e3385;
/* rgb */ color: rgb(78, 51, 133);
/* oklch */ color: oklch(39.8% 0.132 294.9);
Tailwind
colors: {
  custom: {
    50: '#846ca9',
    500: '#4e3385',
    950: '#000000',
  },
}
SCSS
$custom: #4e3385;
$custom-light: #846ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3385",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 259.756,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.1316,
    "h": 294.9
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#4E3385
secondary
#96AE65
accent
#D454AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3385

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

Preview Lab → · Contrast checker → · Palette generator →

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