#4E33C1#4E33C1

#4E33C1 is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.207 H 282.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4E33C1
RGBrgb(78, 51, 193)
HSLhsl(251, 58%, 48%)
HSVhsv(251, 74%, 76%)
CMYKcmyk(59.6%, 73.6%, 0%, 24.3%)
CIE-LABlab(33.64, 49.77, -69.96)
CIE-LCHlch(33.64, 85.85, 305.43°)
OKLaboklab(44.98% 0.0464 -0.2016)
OKLCHoklch(44.98% 0.207 282.9)
XYZxyz(13.9484, 7.8367, 51.2194)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33C1 #A6C133
analogous
#335FC1 #4E33C1 #9533C1
triadic
#4E33C1 #C14E33 #33C14E
tetradic
#4E33C1 #C1335F #A6C133 #33C195
square
#4E33C1 #C1335F #A6C133 #33C195
split-complementary
#4E33C1 #C19533 #5FC133
monochromatic
#271960 #3A2691 #4E33C1 #745DD4 #9D8DE1

Accessibility & contrast

On white

8.18
#4E33C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E33C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33C1
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33C1#FFFFFF#000000##FFFFFF
##4E33C11.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e33c1;
/* rgb */ color: rgb(78, 51, 193);
/* oklch */ color: oklch(45.0% 0.207 282.9);
Tailwind
colors: {
  custom: {
    50: '#8d6ed5',
    500: '#4e33c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e33c1;
$custom-light: #8d6ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33c1",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 251.408,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44983,
    "c": 0.20689,
    "h": 282.9
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#4E33C1
secondary
#BECB84
accent
#E146C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E33C1

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

Preview Lab → · Contrast checker → · Palette generator →

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