#4E33B8#4E33B8

#4E33B8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.196 H 284.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4E33B8
RGBrgb(78, 51, 184)
HSLhsl(252, 57%, 46%)
HSVhsv(252, 72%, 72%)
CMYKcmyk(57.6%, 72.3%, 0%, 27.8%)
CIE-LABlab(32.80, 47.09, -66.03)
CIE-LCHlch(32.80, 81.10, 305.49°)
OKLaboklab(44.14% 0.0483 -0.1901)
OKLCHoklch(44.14% 0.196 284.3)
XYZxyz(12.9748, 7.4472, 46.0919)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33B8 #9DB833
analogous
#335BB8 #4E33B8 #9033B8
triadic
#4E33B8 #B84E33 #33B84E
tetradic
#4E33B8 #B8335B #9DB833 #33B890
square
#4E33B8 #B8335B #9DB833 #33B890
split-complementary
#4E33B8 #B89033 #5BB833
monochromatic
#251858 #3A2688 #4E33B8 #7058D1 #9988DE

Accessibility & contrast

On white

8.44
#4E33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33B8
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33B8#FFFFFF#000000##FFFFFF
##4E33B81.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#155772
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e33b8;
/* rgb */ color: rgb(78, 51, 184);
/* oklch */ color: oklch(44.1% 0.196 284.3);
Tailwind
colors: {
  custom: {
    50: '#8b6dce',
    500: '#4e33b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e33b8;
$custom-light: #8b6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33b8",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 252.18,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44136,
    "c": 0.19617,
    "h": 284.3
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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