#420D5D#420D5D

#420D5D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.133 H 310.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#420D5D
RGBrgb(66, 13, 93)
HSLhsl(280, 75%, 21%)
HSVhsv(280, 86%, 36%)
CMYKcmyk(29%, 86%, 0%, 63.5%)
CIE-LABlab(16.68, 38.20, -35.53)
CIE-LCHlch(16.68, 52.17, 317.07°)
OKLaboklab(29.91% 0.0864 -0.1008)
OKLCHoklch(29.91% 0.133 310.6)
XYZxyz(4.3661, 2.2365, 10.5555)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D5D #285D0D
analogous
#1A0D5D #420D5D #5D0D50
triadic
#420D5D #5D420D #0D5D42
tetradic
#420D5D #5D1A0D #285D0D #0D505D
square
#420D5D #5D1A0D #285D0D #0D505D
split-complementary
#420D5D #505D0D #0D5D1A
monochromatic
#13041B #1C0527 #420D5D #681593 #8E1CC8

Accessibility & contrast

On white

14.51
#420D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#420D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D5D
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D5D#FFFFFF#000000##FFFFFF
##420D5D1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#3E2236
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #420d5d;
/* rgb */ color: rgb(66, 13, 93);
/* oklch */ color: oklch(29.9% 0.133 310.6);
Tailwind
colors: {
  custom: {
    50: '#7a548b',
    500: '#420d5d',
    950: '#000000',
  },
}
SCSS
$custom: #420d5d;
$custom-light: #7a548b;
$custom-dark: #000000;
JSON
{
  "hex": "#420d5d",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 93
  },
  "hsl": {
    "h": 279.75,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29909,
    "c": 0.13276,
    "h": 310.6
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#420D5D
secondary
#52972F
accent
#F23675
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #420D5D

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

Preview Lab → · Contrast checker → · Palette generator →

#420D5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva