#420C43#420C43

#420C43 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.109 H 327.2°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#420C43
RGBrgb(66, 12, 67)
HSLhsl(299, 70%, 15%)
HSVhsv(299, 82%, 26%)
CMYKcmyk(1.5%, 82.1%, 0%, 73.7%)
CIE-LABlab(14.55, 32.92, -21.18)
CIE-LCHlch(14.55, 39.15, 327.24°)
OKLaboklab(27.77% 0.0913 -0.0588)
OKLCHoklch(27.77% 0.109 327.2)
XYZxyz(3.3913, 1.8267, 5.4831)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C43 #0D430C
analogous
#260C43 #420C43 #430C28
triadic
#420C43 #43420C #0C4342
tetradic
#420C43 #43260C #0D430C #0C2843
square
#420C43 #43260C #0D430C #0C2843
split-complementary
#420C43 #28430C #0C4326
monochromatic
#1A051A #1A051A #420C43 #751577 #A81FAB

Accessibility & contrast

On white

15.38
#420C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#420C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C43
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C43#FFFFFF#000000##FFFFFF
##420C431.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022045
Deuteranopia (green-blind)
#1A2742
Tritanopia (blue-blind)
#441527
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420c43;
/* rgb */ color: rgb(66, 12, 67);
/* oklch */ color: oklch(27.8% 0.109 327.2);
Tailwind
colors: {
  custom: {
    50: '#795277',
    500: '#420c43',
    950: '#000000',
  },
}
SCSS
$custom: #420c43;
$custom-light: #795277;
$custom-dark: #000000;
JSON
{
  "hex": "#420c43",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 298.909,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27767,
    "c": 0.10858,
    "h": 327.2
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#420C43
secondary
#2D7F2C
accent
#EC3B3F
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420C43

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

Preview Lab → · Contrast checker → · Palette generator →

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