#4E33B2#4E33B2

#4E33B2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.189 H 285.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4E33B2
RGBrgb(78, 51, 178)
HSLhsl(253, 55%, 45%)
HSVhsv(253, 71%, 70%)
CMYKcmyk(56.2%, 71.3%, 0%, 30.2%)
CIE-LABlab(32.26, 45.29, -63.36)
CIE-LCHlch(32.26, 77.88, 305.56°)
OKLaboklab(43.58% 0.0496 -0.1823)
OKLCHoklch(43.58% 0.189 285.2)
XYZxyz(12.3592, 7.2010, 42.8495)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33B2 #97B233
analogous
#3357B2 #4E33B2 #8E33B2
triadic
#4E33B2 #B24E33 #33B24E
tetradic
#4E33B2 #B23357 #97B233 #33B28E
square
#4E33B2 #B23357 #97B233 #33B28E
split-complementary
#4E33B2 #B28E33 #57B233
monochromatic
#241853 #392582 #4E33B2 #6E54CE #9684DC

Accessibility & contrast

On white

8.61
#4E33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33B2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33B2#FFFFFF#000000##FFFFFF
##4E33B21.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#1F556F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e33b2;
/* rgb */ color: rgb(78, 51, 178);
/* oklch */ color: oklch(43.6% 0.189 285.2);
Tailwind
colors: {
  custom: {
    50: '#8a6dca',
    500: '#4e33b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e33b2;
$custom-light: #8a6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33b2",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 252.756,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43583,
    "c": 0.18892,
    "h": 285.2
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#4E33B2
secondary
#B6C57C
accent
#DF49BF
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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