#4E33BB#4E33BB

#4E33BB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.200 H 283.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4E33BB
RGBrgb(78, 51, 187)
HSLhsl(252, 57%, 47%)
HSVhsv(252, 73%, 73%)
CMYKcmyk(58.3%, 72.7%, 0%, 26.7%)
CIE-LABlab(33.08, 47.98, -67.35)
CIE-LCHlch(33.08, 82.69, 305.47°)
OKLaboklab(44.42% 0.0477 -0.194)
OKLCHoklch(44.42% 0.2 283.8)
XYZxyz(13.2926, 7.5744, 47.7656)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33BB #A0BB33
analogous
#335CBB #4E33BB #9233BB
triadic
#4E33BB #BB4E33 #33BB4E
tetradic
#4E33BB #BB335C #A0BB33 #33BB92
square
#4E33BB #BB335C #A0BB33 #33BB92
split-complementary
#4E33BB #BB9233 #5CBB33
monochromatic
#26195B #3A268B #4E33BB #7159D2 #9A89DF

Accessibility & contrast

On white

8.35
#4E33BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E33BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33BB
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33BB#FFFFFF#000000##FFFFFF
##4E33BB1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#0E5874
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e33bb;
/* rgb */ color: rgb(78, 51, 187);
/* oklch */ color: oklch(44.4% 0.200 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c6ed1',
    500: '#4e33bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e33bb;
$custom-light: #8c6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33bb",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 251.912,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44416,
    "c": 0.19976,
    "h": 283.8
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#4E33BB
secondary
#BBC981
accent
#E047C2
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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