#4D20AF#4D20AF

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

Color values

HEX#4D20AF
RGBrgb(77, 32, 175)
HSLhsl(259, 69%, 41%)
HSVhsv(259, 82%, 69%)
CMYKcmyk(56%, 81.7%, 0%, 31.4%)
CIE-LABlab(28.66, 53.46, -67.49)
CIE-LCHlch(28.66, 86.10, 308.38°)
OKLaboklab(40.95% 0.0626 -0.1943)
OKLCHoklch(40.95% 0.204 287.9)
XYZxyz(11.3126, 5.7053, 41.0543)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D20AF #82AF20
analogous
#203BAF #4D20AF #9420AF
triadic
#4D20AF #AF4D20 #20AF4D
tetradic
#4D20AF #AF203B #82AF20 #20AF94
square
#4D20AF #AF203B #82AF20 #20AF94
split-complementary
#4D20AF #AF9420 #3BAF20
monochromatic
#1F0D48 #36177B #4D20AF #6733DA #8E66E3

Accessibility & contrast

On white

9.81
#4D20AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4D20AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D20AF
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D20AF#FFFFFF#000000##FFFFFF
##4D20AF1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d20af;
/* rgb */ color: rgb(77, 32, 175);
/* oklch */ color: oklch(40.9% 0.204 287.9);
Tailwind
colors: {
  custom: {
    50: '#8a63c8',
    500: '#4d20af',
    950: '#000000',
  },
}
SCSS
$custom: #4d20af;
$custom-light: #8a63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d20af",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 258.881,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.20412,
    "h": 287.9
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D20AF

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

Preview Lab → · Contrast checker → · Palette generator →

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