#420E57#420E57

#420E57 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.5% C 0.126 H 313.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#420E57
RGBrgb(66, 14, 87)
HSLhsl(283, 72%, 20%)
HSVhsv(283, 84%, 34%)
CMYKcmyk(24.1%, 83.9%, 0%, 65.9%)
CIE-LABlab(16.31, 36.43, -32.10)
CIE-LCHlch(16.31, 48.56, 318.61°)
OKLaboklab(29.49% 0.0869 -0.0907)
OKLCHoklch(29.49% 0.126 313.8)
XYZxyz(4.1238, 2.1606, 9.2148)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E57 #23570E
analogous
#1E0E57 #420E57 #570E47
triadic
#420E57 #57420E #0E5742
tetradic
#420E57 #571E0E #23570E #0E4757
square
#420E57 #571E0E #23570E #0E4757
split-complementary
#420E57 #47570E #0E571E
monochromatic
#14041A #1A0622 #420E57 #6A168C #921FC0

Accessibility & contrast

On white

14.66
#420E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#420E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E57
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E57#FFFFFF#000000##FFFFFF
##420E571.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#072A55
Tritanopia (blue-blind)
#401F32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #420e57;
/* rgb */ color: rgb(66, 14, 87);
/* oklch */ color: oklch(29.5% 0.126 313.8);
Tailwind
colors: {
  custom: {
    50: '#7a5487',
    500: '#420e57',
    950: '#000000',
  },
}
SCSS
$custom: #420e57;
$custom-light: #7a5487;
$custom-dark: #000000;
JSON
{
  "hex": "#420e57",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 282.74,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29488,
    "c": 0.12565,
    "h": 313.8
  },
  "luminance": 0.0216
}

Semantic roles & 50–950 ramp

primary
#420E57
secondary
#4C9130
accent
#EF396D
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #420E57

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

Preview Lab → · Contrast checker → · Palette generator →

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