#420E58#420E58

#420E58 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.6% C 0.127 H 313.2°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#420E58
RGBrgb(66, 14, 88)
HSLhsl(282, 73%, 20%)
HSVhsv(282, 84%, 35%)
CMYKcmyk(25%, 84.1%, 0%, 65.5%)
CIE-LABlab(16.39, 36.66, -32.65)
CIE-LCHlch(16.39, 49.09, 318.32°)
OKLaboklab(29.57% 0.0867 -0.0923)
OKLCHoklch(29.57% 0.127 313.2)
XYZxyz(4.1649, 2.1770, 9.4314)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E58 #24580E
analogous
#1D0E58 #420E58 #580E49
triadic
#420E58 #58420E #0E5842
tetradic
#420E58 #581D0E #24580E #0E4958
square
#420E58 #581D0E #24580E #0E4958
split-complementary
#420E58 #49580E #0E581D
monochromatic
#14041A #1A0623 #420E58 #6A168D #911FC2

Accessibility & contrast

On white

14.63
#420E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#420E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E58
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E58#FFFFFF#000000##FFFFFF
##420E581.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#052A56
Tritanopia (blue-blind)
#402033
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #420e58;
/* rgb */ color: rgb(66, 14, 88);
/* oklch */ color: oklch(29.6% 0.127 313.2);
Tailwind
colors: {
  custom: {
    50: '#7a5488',
    500: '#420e58',
    950: '#000000',
  },
}
SCSS
$custom: #420e58;
$custom-light: #7a5488;
$custom-dark: #000000;
JSON
{
  "hex": "#420e58",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 88
  },
  "hsl": {
    "h": 282.162,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.29571,
    "c": 0.12666,
    "h": 313.2
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#420E58
secondary
#4D9230
accent
#EF396F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420E58

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

Preview Lab → · Contrast checker → · Palette generator →

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