#4E33BA#4E33BA

#4E33BA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.199 H 284.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4E33BA
RGBrgb(78, 51, 186)
HSLhsl(252, 57%, 46%)
HSVhsv(252, 73%, 73%)
CMYKcmyk(58.1%, 72.6%, 0%, 27.1%)
CIE-LABlab(32.99, 47.68, -66.91)
CIE-LCHlch(32.99, 82.16, 305.48°)
OKLaboklab(44.32% 0.0479 -0.1927)
OKLCHoklch(44.32% 0.199 284)
XYZxyz(13.1859, 7.5317, 47.2038)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33BA #9FBA33
analogous
#335CBA #4E33BA #9233BA
triadic
#4E33BA #BA4E33 #33BA4E
tetradic
#4E33BA #BA335C #9FBA33 #33BA92
square
#4E33BA #BA335C #9FBA33 #33BA92
split-complementary
#4E33BA #BA9233 #5CBA33
monochromatic
#26195A #3A268A #4E33BA #7159D1 #9A89DF

Accessibility & contrast

On white

8.38
#4E33BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E33BA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33BA#FFFFFF#000000##FFFFFF
##4E33BA1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#105873
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e33ba;
/* rgb */ color: rgb(78, 51, 186);
/* oklch */ color: oklch(44.3% 0.199 284.0);
Tailwind
colors: {
  custom: {
    50: '#8b6ed0',
    500: '#4e33ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e33ba;
$custom-light: #8b6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33ba",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 252,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.19857,
    "h": 284
  },
  "luminance": 0.07533
}

Semantic roles & 50–950 ramp

primary
#4E33BA
secondary
#BAC980
accent
#E048C2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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