#4E33AD#4E33AD

#4E33AD is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.183 H 286.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4E33AD
RGBrgb(78, 51, 173)
HSLhsl(253, 54%, 44%)
HSVhsv(253, 71%, 68%)
CMYKcmyk(54.9%, 70.5%, 0%, 32.2%)
CIE-LABlab(31.82, 43.80, -61.10)
CIE-LCHlch(31.82, 75.18, 305.63°)
OKLaboklab(43.13% 0.0505 -0.1757)
OKLCHoklch(43.13% 0.183 286)
XYZxyz(11.8663, 7.0038, 40.2537)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E33AD #92AD33
analogous
#3355AD #4E33AD #8B33AD
triadic
#4E33AD #AD4E33 #33AD4E
tetradic
#4E33AD #AD3355 #92AD33 #33AD8B
square
#4E33AD #AD3355 #92AD33 #33AD8B
split-complementary
#4E33AD #AD8B33 #55AD33
monochromatic
#23174E #39257E #4E33AD #6C51CC #9481DA

Accessibility & contrast

On white

8.75
#4E33AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E33AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E33AD
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E33AD#FFFFFF#000000##FFFFFF
##4E33AD1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#25536C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e33ad;
/* rgb */ color: rgb(78, 51, 173);
/* oklch */ color: oklch(43.1% 0.183 286.0);
Tailwind
colors: {
  custom: {
    50: '#896dc6',
    500: '#4e33ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e33ad;
$custom-light: #896dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e33ad",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 173
  },
  "hsl": {
    "h": 253.279,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4313,
    "c": 0.18281,
    "h": 286
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#4E33AD
secondary
#B3C379
accent
#DE4ABD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4E33AD

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

Preview Lab → · Contrast checker → · Palette generator →

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