#4E33B1#4E33B1

#4E33B1 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.188 H 285.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4E33B1
RGBrgb(78, 51, 177)
HSLhsl(253, 55%, 45%)
HSVhsv(253, 71%, 69%)
CMYKcmyk(55.9%, 71.2%, 0%, 30.6%)
CIE-LABlab(32.17, 44.99, -62.91)
CIE-LCHlch(32.17, 77.34, 305.57°)
OKLaboklab(43.49% 0.0498 -0.181)
OKLCHoklch(43.49% 0.188 285.4)
XYZxyz(12.2591, 7.1610, 42.3227)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33B1 #96B133
analogous
#3357B1 #4E33B1 #8D33B1
triadic
#4E33B1 #B14E33 #33B14E
tetradic
#4E33B1 #B13357 #96B133 #33B18D
square
#4E33B1 #B13357 #96B133 #33B18D
split-complementary
#4E33B1 #B18D33 #57B133
monochromatic
#241852 #392581 #4E33B1 #6E54CE #9683DB

Accessibility & contrast

On white

8.63
#4E33B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E33B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33B1
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33B1#FFFFFF#000000##FFFFFF
##4E33B11.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#20546E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e33b1;
/* rgb */ color: rgb(78, 51, 177);
/* oklch */ color: oklch(43.5% 0.188 285.4);
Tailwind
colors: {
  custom: {
    50: '#8a6dc9',
    500: '#4e33b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e33b1;
$custom-light: #8a6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33b1",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 252.857,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43492,
    "c": 0.18771,
    "h": 285.4
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#4E33B1
secondary
#B5C57B
accent
#DF49BF
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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