#420E5D#420E5D

#420E5D is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.132 H 310.5°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#420E5D
RGBrgb(66, 14, 93)
HSLhsl(279, 74%, 21%)
HSVhsv(279, 85%, 36%)
CMYKcmyk(29%, 84.9%, 0%, 63.5%)
CIE-LABlab(16.81, 37.83, -35.32)
CIE-LCHlch(16.81, 51.75, 316.96°)
OKLaboklab(30% 0.0855 -0.1002)
OKLCHoklch(30% 0.132 310.5)
XYZxyz(4.3792, 2.2627, 10.5599)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E5D #295D0E
analogous
#1A0E5D #420E5D #5D0E50
triadic
#420E5D #5D420E #0E5D42
tetradic
#420E5D #5D1A0E #295D0E #0E505D
square
#420E5D #5D1A0E #295D0E #0E505D
split-complementary
#420E5D #505D0E #0E5D1A
monochromatic
#13041B #1C0628 #420E5D #681692 #8D1EC7

Accessibility & contrast

On white

14.46
#420E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E5D
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E5D#FFFFFF#000000##FFFFFF
##420E5D1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.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: #420e5d;
/* rgb */ color: rgb(66, 14, 93);
/* oklch */ color: oklch(30.0% 0.132 310.5);
Tailwind
colors: {
  custom: {
    50: '#7a548b',
    500: '#420e5d',
    950: '#000000',
  },
}
SCSS
$custom: #420e5d;
$custom-light: #7a548b;
$custom-dark: #000000;
JSON
{
  "hex": "#420e5d",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 279.494,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29998,
    "c": 0.13174,
    "h": 310.5
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#420E5D
secondary
#539730
accent
#F03777
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #420E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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