#42063D#42063D

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

Color values

HEX#42063D
RGBrgb(66, 6, 61)
HSLhsl(305, 83%, 14%)
HSVhsv(305, 91%, 26%)
CMYKcmyk(0%, 90.9%, 7.6%, 74.1%)
CIE-LABlab(13.39, 34.01, -18.80)
CIE-LCHlch(13.39, 38.86, 331.07°)
OKLaboklab(26.81% 0.0977 -0.0518)
OKLCHoklch(26.81% 0.111 332.1)
XYZxyz(3.1542, 1.6257, 4.5616)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42063D #06420B
analogous
#290642 #42063D #42061F
triadic
#42063D #3D4206 #063D42
tetradic
#42063D #422906 #06420B #061F42
square
#42063D #422906 #06420B #061F42
split-complementary
#42063D #1F4206 #064229
monochromatic
#1C031A #1C031A #42063D #7A0B71 #B210A5

Accessibility & contrast

On white

15.85
#42063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42063D
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42063D#FFFFFF#000000##FFFFFF
##42063D1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3E
Deuteranopia (green-blind)
#1B253C
Tritanopia (blue-blind)
#450E22
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42063d;
/* rgb */ color: rgb(66, 6, 61);
/* oklch */ color: oklch(26.8% 0.111 332.1);
Tailwind
colors: {
  custom: {
    50: '#794f73',
    500: '#42063d',
    950: '#000000',
  },
}
SCSS
$custom: #42063d;
$custom-light: #794f73;
$custom-dark: #000000;
JSON
{
  "hex": "#42063d",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 305,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26808,
    "c": 0.11057,
    "h": 332.1
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#42063D
secondary
#22822A
accent
#FA3F2E
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #42063D

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

Preview Lab → · Contrast checker → · Palette generator →

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