#4E33A9#4E33A9

#4E33A9 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.178 H 286.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#4E33A9
RGBrgb(78, 51, 169)
HSLhsl(254, 54%, 43%)
HSVhsv(254, 70%, 66%)
CMYKcmyk(53.8%, 69.8%, 0%, 33.7%)
CIE-LABlab(31.47, 42.60, -59.28)
CIE-LCHlch(31.47, 72.99, 305.70°)
OKLaboklab(42.77% 0.0513 -0.1703)
OKLCHoklch(42.77% 0.178 286.8)
XYZxyz(11.4850, 6.8513, 38.2457)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33A9 #8EA933
analogous
#3353A9 #4E33A9 #8933A9
triadic
#4E33A9 #A94E33 #33A94E
tetradic
#4E33A9 #A93353 #8EA933 #33A989
square
#4E33A9 #A93353 #8EA933 #33A989
split-complementary
#4E33A9 #A98933 #53A933
monochromatic
#23174B #38257A #4E33A9 #6B4FCA #937ED8

Accessibility & contrast

On white

8.86
#4E33A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4E33A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33A9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33A9#FFFFFF#000000##FFFFFF
##4E33A91.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#29526A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e33a9;
/* rgb */ color: rgb(78, 51, 169);
/* oklch */ color: oklch(42.8% 0.178 286.8);
Tailwind
colors: {
  custom: {
    50: '#896dc4',
    500: '#4e33a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e33a9;
$custom-light: #896dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33a9",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 169
  },
  "hsl": {
    "h": 253.729,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.17789,
    "h": 286.8
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#4E33A9
secondary
#B0C177
accent
#DD4BBC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E33A9

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

Preview Lab → · Contrast checker → · Palette generator →

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