#420948#420948

#420948 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.117 H 323.7°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#420948
RGBrgb(66, 9, 72)
HSLhsl(294, 78%, 16%)
HSVhsv(294, 88%, 28%)
CMYKcmyk(8.3%, 87.5%, 0%, 71.8%)
CIE-LABlab(14.52, 35.01, -24.72)
CIE-LCHlch(14.52, 42.85, 324.78°)
OKLaboklab(27.86% 0.094 -0.069)
OKLCHoklch(27.86% 0.117 323.7)
XYZxyz(3.5140, 1.8217, 6.2962)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420948 #0F4809
analogous
#220948 #420948 #48092E
triadic
#420948 #484209 #094842
tetradic
#420948 #482209 #0F4809 #092E48
square
#420948 #482209 #0F4809 #092E48
split-complementary
#420948 #2E4809 #094822
monochromatic
#19031B #19031B #420948 #74107E #A617B5

Accessibility & contrast

On white

15.39
#420948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#420948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420948
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420948#FFFFFF#000000##FFFFFF
##4209481.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#152747
Tritanopia (blue-blind)
#431629
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420948;
/* rgb */ color: rgb(66, 9, 72);
/* oklch */ color: oklch(27.9% 0.117 323.7);
Tailwind
colors: {
  custom: {
    50: '#79517b',
    500: '#420948',
    950: '#000000',
  },
}
SCSS
$custom: #420948;
$custom-light: #79517b;
$custom-dark: #000000;
JSON
{
  "hex": "#420948",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 294.286,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27859,
    "c": 0.11664,
    "h": 323.7
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#420948
secondary
#308527
accent
#F43446
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #420948

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

Preview Lab → · Contrast checker → · Palette generator →

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