#4E33AA#4E33AA

#4E33AA is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.179 H 286.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#4E33AA
RGBrgb(78, 51, 170)
HSLhsl(254, 54%, 43%)
HSVhsv(254, 70%, 67%)
CMYKcmyk(54.1%, 70%, 0%, 33.3%)
CIE-LABlab(31.55, 42.90, -59.73)
CIE-LCHlch(31.55, 73.54, 305.68°)
OKLaboklab(42.86% 0.0511 -0.1717)
OKLCHoklch(42.86% 0.179 286.6)
XYZxyz(11.5792, 6.8890, 38.7420)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33AA #8FAA33
analogous
#3354AA #4E33AA #8933AA
triadic
#4E33AA #AA4E33 #33AA4E
tetradic
#4E33AA #AA3354 #8FAA33 #33AA89
square
#4E33AA #AA3354 #8FAA33 #33AA89
split-complementary
#4E33AA #AA8933 #54AA33
monochromatic
#23174C #38257B #4E33AA #6C50CA #937FD9

Accessibility & contrast

On white

8.83
#4E33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33AA
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33AA#FFFFFF#000000##FFFFFF
##4E33AA1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#28526A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e33aa;
/* rgb */ color: rgb(78, 51, 170);
/* oklch */ color: oklch(42.9% 0.179 286.6);
Tailwind
colors: {
  custom: {
    50: '#896dc4',
    500: '#4e33aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e33aa;
$custom-light: #896dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33aa",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 253.613,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42861,
    "c": 0.17912,
    "h": 286.6
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#4E33AA
secondary
#B1C277
accent
#DD4BBC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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