#42063E#42063E

#42063E is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.111 H 331.3°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#42063E
RGBrgb(66, 6, 62)
HSLhsl(304, 83%, 14%)
HSVhsv(304, 91%, 26%)
CMYKcmyk(0%, 90.9%, 6.1%, 74.1%)
CIE-LABlab(13.45, 34.19, -19.40)
CIE-LCHlch(13.45, 39.31, 330.43°)
OKLaboklab(26.88% 0.0977 -0.0535)
OKLCHoklch(26.88% 0.111 331.3)
XYZxyz(3.1814, 1.6366, 4.7048)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42063E #06420A
analogous
#280642 #42063E #420620
triadic
#42063E #3E4206 #063E42
tetradic
#42063E #422806 #06420A #062042
square
#42063E #422806 #06420A #062042
split-complementary
#42063E #204206 #064228
monochromatic
#1C031A #1C031A #42063E #7A0B73 #B210A7

Accessibility & contrast

On white

15.82
#42063E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#42063E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42063E
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42063E#FFFFFF#000000##FFFFFF
##42063E1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3F
Deuteranopia (green-blind)
#1A253D
Tritanopia (blue-blind)
#450E22
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42063e;
/* rgb */ color: rgb(66, 6, 62);
/* oklch */ color: oklch(26.9% 0.111 331.3);
Tailwind
colors: {
  custom: {
    50: '#794f73',
    500: '#42063e',
    950: '#000000',
  },
}
SCSS
$custom: #42063e;
$custom-light: #794f73;
$custom-dark: #000000;
JSON
{
  "hex": "#42063e",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 62
  },
  "hsl": {
    "h": 304,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26876,
    "c": 0.1114,
    "h": 331.3
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#42063E
secondary
#228228
accent
#FA3C2E
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #42063E

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

Preview Lab → · Contrast checker → · Palette generator →

#42063E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva