#42063A#42063A

#42063A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.108 H 334.5°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#42063A
RGBrgb(66, 6, 58)
HSLhsl(308, 83%, 14%)
HSVhsv(308, 91%, 26%)
CMYKcmyk(0%, 90.9%, 12.1%, 74.1%)
CIE-LABlab(13.20, 33.49, -16.96)
CIE-LCHlch(13.20, 37.54, 333.14°)
OKLaboklab(26.61% 0.0976 -0.0465)
OKLCHoklch(26.61% 0.108 334.5)
XYZxyz(3.0757, 1.5943, 4.1479)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42063A #06420E
analogous
#2C0642 #42063A #42061C
triadic
#42063A #3A4206 #063A42
tetradic
#42063A #422C06 #06420E #061C42
square
#42063A #422C06 #06420E #061C42
split-complementary
#42063A #1C4206 #06422C
monochromatic
#1C0319 #1C0319 #42063A #7A0B6B #B2109D

Accessibility & contrast

On white

15.92
#42063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42063A
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42063A#FFFFFF#000000##FFFFFF
##42063A1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#1C2539
Tritanopia (blue-blind)
#460C20
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42063a;
/* rgb */ color: rgb(66, 6, 58);
/* oklch */ color: oklch(26.6% 0.108 334.5);
Tailwind
colors: {
  custom: {
    50: '#794f70',
    500: '#42063a',
    950: '#000000',
  },
}
SCSS
$custom: #42063a;
$custom-light: #794f70;
$custom-dark: #000000;
JSON
{
  "hex": "#42063a",
  "rgb": {
    "r": 66,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 308,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26611,
    "c": 0.10812,
    "h": 334.5
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#42063A
secondary
#22822F
accent
#FA492E
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #42063A

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

Preview Lab → · Contrast checker → · Palette generator →

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