#4E33B6#4E33B6

#4E33B6 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.194 H 284.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4E33B6
RGBrgb(78, 51, 182)
HSLhsl(252, 56%, 46%)
HSVhsv(252, 72%, 71%)
CMYKcmyk(57.1%, 72%, 0%, 28.6%)
CIE-LABlab(32.62, 46.49, -65.14)
CIE-LCHlch(32.62, 80.03, 305.51°)
OKLaboklab(43.95% 0.0488 -0.1875)
OKLCHoklch(43.95% 0.194 284.6)
XYZxyz(12.7666, 7.3640, 44.9956)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33B6 #9BB633
analogous
#335AB6 #4E33B6 #8F33B6
triadic
#4E33B6 #B64E33 #33B64E
tetradic
#4E33B6 #B6335A #9BB633 #33B68F
square
#4E33B6 #B6335A #9BB633 #33B68F
split-complementary
#4E33B6 #B68F33 #5AB633
monochromatic
#251856 #3A2686 #4E33B6 #6F56D0 #9886DD

Accessibility & contrast

On white

8.49
#4E33B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E33B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33B6
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33B6#FFFFFF#000000##FFFFFF
##4E33B61.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#195671
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e33b6;
/* rgb */ color: rgb(78, 51, 182);
/* oklch */ color: oklch(44.0% 0.194 284.6);
Tailwind
colors: {
  custom: {
    50: '#8b6dcd',
    500: '#4e33b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e33b6;
$custom-light: #8b6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33b6",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 182
  },
  "hsl": {
    "h": 252.366,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.19377,
    "h": 284.6
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#4E33B6
secondary
#B8C77E
accent
#E048C0
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E33B6

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

Preview Lab → · Contrast checker → · Palette generator →

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