#4E20AF#4E20AF

#4E20AF is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.0% C 0.204 H 288.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#4E20AF
RGBrgb(78, 32, 175)
HSLhsl(259, 69%, 41%)
HSVhsv(259, 82%, 69%)
CMYKcmyk(55.4%, 81.7%, 0%, 31.4%)
CIE-LABlab(28.77, 53.58, -67.31)
CIE-LCHlch(28.77, 86.03, 308.52°)
OKLaboklab(41.05% 0.0642 -0.1937)
OKLCHoklch(41.05% 0.204 288.3)
XYZxyz(11.3940, 5.7473, 41.0581)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E20AF #81AF20
analogous
#2039AF #4E20AF #9520AF
triadic
#4E20AF #AF4E20 #20AF4E
tetradic
#4E20AF #AF2039 #81AF20 #20AF95
square
#4E20AF #AF2039 #81AF20 #20AF95
split-complementary
#4E20AF #AF9520 #39AF20
monochromatic
#200D48 #37177B #4E20AF #6833DA #8E66E3

Accessibility & contrast

On white

9.77
#4E20AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E20AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E20AF
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E20AF#FFFFFF#000000##FFFFFF
##4E20AF1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#244B69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e20af;
/* rgb */ color: rgb(78, 32, 175);
/* oklch */ color: oklch(41.0% 0.204 288.3);
Tailwind
colors: {
  custom: {
    50: '#8b63c8',
    500: '#4e20af',
    950: '#000000',
  },
}
SCSS
$custom: #4e20af;
$custom-light: #8b63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e20af",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 259.301,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.20407,
    "h": 288.3
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#4E20AF
secondary
#A8C862
accent
#EC3CB3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E20AF

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

Preview Lab → · Contrast checker → · Palette generator →

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