#4E33B9#4E33B9

#4E33B9 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.197 H 284.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4E33B9
RGBrgb(78, 51, 185)
HSLhsl(252, 57%, 46%)
HSVhsv(252, 72%, 73%)
CMYKcmyk(57.8%, 72.4%, 0%, 27.5%)
CIE-LABlab(32.90, 47.38, -66.47)
CIE-LCHlch(32.90, 81.63, 305.49°)
OKLaboklab(44.23% 0.0481 -0.1914)
OKLCHoklch(44.23% 0.197 284.1)
XYZxyz(13.0800, 7.4893, 46.6459)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33B9 #9EB933
analogous
#335BB9 #4E33B9 #9133B9
triadic
#4E33B9 #B94E33 #33B94E
tetradic
#4E33B9 #B9335B #9EB933 #33B991
square
#4E33B9 #B9335B #9EB933 #33B991
split-complementary
#4E33B9 #B99133 #5BB933
monochromatic
#261959 #3A2689 #4E33B9 #7158D1 #9A88DE

Accessibility & contrast

On white

8.41
#4E33B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E33B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33B9
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33B9#FFFFFF#000000##FFFFFF
##4E33B91.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#135873
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e33b9;
/* rgb */ color: rgb(78, 51, 185);
/* oklch */ color: oklch(44.2% 0.197 284.1);
Tailwind
colors: {
  custom: {
    50: '#8b6dcf',
    500: '#4e33b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e33b9;
$custom-light: #8b6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33b9",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 252.09,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.19737,
    "h": 284.1
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#4E33B9
secondary
#BAC880
accent
#E048C1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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