#42063F#42063F

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

Color values

HEX#42063F
RGBrgb(66, 6, 63)
HSLhsl(303, 83%, 14%)
HSVhsv(303, 91%, 26%)
CMYKcmyk(0%, 90.9%, 4.5%, 74.1%)
CIE-LABlab(13.52, 34.37, -20.01)
CIE-LCHlch(13.52, 39.77, 329.80°)
OKLaboklab(26.95% 0.0977 -0.0553)
OKLCHoklch(26.95% 0.112 330.5)
XYZxyz(3.2091, 1.6476, 4.8507)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42063F #064209
analogous
#270642 #42063F #420621
triadic
#42063F #3F4206 #063F42
tetradic
#42063F #422706 #064209 #062142
square
#42063F #422706 #064209 #062142
split-complementary
#42063F #214206 #064227
monochromatic
#1C031B #1C031B #42063F #7A0B75 #B210AA

Accessibility & contrast

On white

15.80
#42063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42063F
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42063F#FFFFFF#000000##FFFFFF
##42063F1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#1A253E
Tritanopia (blue-blind)
#450F23
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42063f;
/* rgb */ color: rgb(66, 6, 63);
/* oklch */ color: oklch(26.9% 0.112 330.5);
Tailwind
colors: {
  custom: {
    50: '#794f74',
    500: '#42063f',
    950: '#000000',
  },
}
SCSS
$custom: #42063f;
$custom-light: #794f74;
$custom-dark: #000000;
JSON
{
  "hex": "#42063f",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 303,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26945,
    "c": 0.11223,
    "h": 330.5
  },
  "luminance": 0.01647
}

Semantic roles & 50–950 ramp

primary
#42063F
secondary
#228227
accent
#FA382E
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #42063F

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

Preview Lab → · Contrast checker → · Palette generator →

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