#420F4C#420F4C

#420F4C is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.7% C 0.113 H 320.5°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#420F4C
RGBrgb(66, 15, 76)
HSLhsl(290, 67%, 18%)
HSVhsv(290, 80%, 30%)
CMYKcmyk(13.2%, 80.3%, 0%, 70.2%)
CIE-LABlab(15.60, 33.58, -25.75)
CIE-LCHlch(15.60, 42.31, 322.51°)
OKLaboklab(28.72% 0.0875 -0.0721)
OKLCHoklch(28.72% 0.113 320.5)
XYZxyz(3.7219, 2.0219, 7.0303)
Luminance0.0202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F4C #194C0F
analogous
#230F4C #420F4C #4C0F37
triadic
#420F4C #4C420F #0F4C42
tetradic
#420F4C #4C230F #194C0F #0F374C
square
#420F4C #4C230F #194C0F #0F374C
split-complementary
#420F4C #374C0F #0F4C23
monochromatic
#16051A #16051A #420F4C #6E197F #9B23B2

Accessibility & contrast

On white

14.95
#420F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#420F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F4C
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F4C#FFFFFF#000000##FFFFFF
##420F4C1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#15294B
Tritanopia (blue-blind)
#421B2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #420f4c;
/* rgb */ color: rgb(66, 15, 76);
/* oklch */ color: oklch(28.7% 0.113 320.5);
Tailwind
colors: {
  custom: {
    50: '#79537e',
    500: '#420f4c',
    950: '#000000',
  },
}
SCSS
$custom: #420f4c;
$custom-light: #79537e;
$custom-dark: #000000;
JSON
{
  "hex": "#420f4c",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 290.164,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28719,
    "c": 0.1134,
    "h": 320.5
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#420F4C
secondary
#3F8631
accent
#EA3E5A
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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