#420946#420946

#420946 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.115 H 325.1°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#420946
RGBrgb(66, 9, 70)
HSLhsl(296, 77%, 15%)
HSVhsv(296, 87%, 27%)
CMYKcmyk(5.7%, 87.1%, 0%, 72.5%)
CIE-LABlab(14.38, 34.61, -23.55)
CIE-LCHlch(14.38, 41.86, 325.76°)
OKLaboklab(27.71% 0.0942 -0.0656)
OKLCHoklch(27.71% 0.115 325.1)
XYZxyz(3.4499, 1.7961, 5.9581)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420946 #0D4609
analogous
#230946 #420946 #46092B
triadic
#420946 #464209 #094642
tetradic
#420946 #462309 #0D4609 #092B46
square
#420946 #462309 #0D4609 #092B46
split-complementary
#420946 #2B4609 #094623
monochromatic
#1A031B #1A031B #420946 #75107C #A817B2

Accessibility & contrast

On white

15.45
#420946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420946
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420946#FFFFFF#000000##FFFFFF
##4209461.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#172745
Tritanopia (blue-blind)
#441528
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420946;
/* rgb */ color: rgb(66, 9, 70);
/* oklch */ color: oklch(27.7% 0.115 325.1);
Tailwind
colors: {
  custom: {
    50: '#79517a',
    500: '#420946',
    950: '#000000',
  },
}
SCSS
$custom: #420946;
$custom-light: #79517a;
$custom-dark: #000000;
JSON
{
  "hex": "#420946",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 296.066,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27711,
    "c": 0.11481,
    "h": 325.1
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#420946
secondary
#2D8427
accent
#F43441
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420946

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

Preview Lab → · Contrast checker → · Palette generator →

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