#420F43#420F43

#420F43 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.105 H 327.1°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#420F43
RGBrgb(66, 15, 67)
HSLhsl(299, 63%, 16%)
HSVhsv(299, 78%, 26%)
CMYKcmyk(1.5%, 77.6%, 0%, 73.7%)
CIE-LABlab(14.98, 31.69, -20.50)
CIE-LCHlch(14.98, 37.74, 327.11°)
OKLaboklab(28.08% 0.0878 -0.0568)
OKLCHoklch(28.08% 0.105 327.1)
XYZxyz(3.4307, 1.9054, 5.4962)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F43 #10430F
analogous
#280F43 #420F43 #430F2A
triadic
#420F43 #43420F #0F4342
tetradic
#420F43 #43280F #10430F #0F2A43
square
#420F43 #43280F #10430F #0F2A43
split-complementary
#420F43 #2A430F #0F4328
monochromatic
#190619 #190619 #420F43 #731A75 #A525A7

Accessibility & contrast

On white

15.21
#420F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#420F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F43
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F43#FFFFFF#000000##FFFFFF
##420F431.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062144
Deuteranopia (green-blind)
#1C2842
Tritanopia (blue-blind)
#441727
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420f43;
/* rgb */ color: rgb(66, 15, 67);
/* oklch */ color: oklch(28.1% 0.105 327.1);
Tailwind
colors: {
  custom: {
    50: '#795377',
    500: '#420f43',
    950: '#000000',
  },
}
SCSS
$custom: #420f43;
$custom-light: #795377;
$custom-dark: #000000;
JSON
{
  "hex": "#420f43",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 298.846,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28077,
    "c": 0.1046,
    "h": 327.1
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#420F43
secondary
#327D30
accent
#E64145
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #420F43

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

Preview Lab → · Contrast checker → · Palette generator →

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