#420347#420347

#420347 is a dark, vivid purple. Relative luminance 0.017; OKLCH L 27.3% C 0.123 H 324.7°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#420347
RGBrgb(66, 3, 71)
HSLhsl(296, 92%, 15%)
HSVhsv(296, 96%, 28%)
CMYKcmyk(7%, 95.8%, 0%, 72.2%)
CIE-LABlab(13.70, 36.99, -25.34)
CIE-LCHlch(13.70, 44.84, 325.59°)
OKLaboklab(27.26% 0.1001 -0.0708)
OKLCHoklch(27.26% 0.123 324.7)
XYZxyz(3.4166, 1.6785, 6.1041)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420347 #084703
analogous
#200347 #420347 #47032A
triadic
#420347 #474203 #034742
tetradic
#420347 #472003 #084703 #032A47
square
#420347 #472003 #084703 #032A47
split-complementary
#420347 #2A4703 #034720
monochromatic
#1B011D #1B011D #420347 #790582 #AF08BC

Accessibility & contrast

On white

15.72
#420347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#420347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420347
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420347#FFFFFF#000000##FFFFFF
##4203471.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#132546
Tritanopia (blue-blind)
#441227
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420347;
/* rgb */ color: rgb(66, 3, 71);
/* oklch */ color: oklch(27.3% 0.123 324.7);
Tailwind
colors: {
  custom: {
    50: '#794e7a',
    500: '#420347',
    950: '#000000',
  },
}
SCSS
$custom: #420347;
$custom-light: #794e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#420347",
  "rgb": {
    "r": 66,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 295.588,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27257,
    "c": 0.12262,
    "h": 324.7
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#420347
secondary
#25881E
accent
#FF2939
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420347

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

Preview Lab → · Contrast checker → · Palette generator →

#420347 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva