#42063B#42063B

#42063B is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.109 H 333.7°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#42063B
RGBrgb(66, 6, 59)
HSLhsl(307, 83%, 14%)
HSVhsv(307, 91%, 26%)
CMYKcmyk(0%, 90.9%, 10.6%, 74.1%)
CIE-LABlab(13.26, 33.66, -17.58)
CIE-LCHlch(13.26, 37.98, 332.43°)
OKLaboklab(26.68% 0.0977 -0.0483)
OKLCHoklch(26.68% 0.109 333.7)
XYZxyz(3.1013, 1.6045, 4.2832)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42063B #06420D
analogous
#2B0642 #42063B #42061D
triadic
#42063B #3B4206 #063B42
tetradic
#42063B #422B06 #06420D #061D42
square
#42063B #422B06 #06420D #061D42
split-complementary
#42063B #1D4206 #06422B
monochromatic
#1C0319 #1C0319 #42063B #7A0B6D #B2109F

Accessibility & contrast

On white

15.90
#42063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#42063B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42063B
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42063B#FFFFFF#000000##FFFFFF
##42063B1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3C
Deuteranopia (green-blind)
#1C253A
Tritanopia (blue-blind)
#460D20
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42063b;
/* rgb */ color: rgb(66, 6, 59);
/* oklch */ color: oklch(26.7% 0.109 333.7);
Tailwind
colors: {
  custom: {
    50: '#794f71',
    500: '#42063b',
    950: '#000000',
  },
}
SCSS
$custom: #42063b;
$custom-light: #794f71;
$custom-dark: #000000;
JSON
{
  "hex": "#42063b",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 307,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26676,
    "c": 0.10892,
    "h": 333.7
  },
  "luminance": 0.01604
}

Semantic roles & 50–950 ramp

primary
#42063B
secondary
#22822D
accent
#FA462E
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #42063B

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

Preview Lab → · Contrast checker → · Palette generator →

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