#42053A#42053A

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

Color values

HEX#42053A
RGBrgb(66, 5, 58)
HSLhsl(308, 86%, 14%)
HSVhsv(308, 92%, 26%)
CMYKcmyk(0%, 92.4%, 12.1%, 74.1%)
CIE-LABlab(13.06, 33.88, -17.17)
CIE-LCHlch(13.06, 37.98, 333.12°)
OKLaboklab(26.52% 0.0988 -0.0471)
OKLCHoklch(26.52% 0.109 334.5)
XYZxyz(3.0648, 1.5726, 4.1443)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42053A #05420D
analogous
#2C0542 #42053A #42051C
triadic
#42053A #3A4205 #053A42
tetradic
#42053A #422C05 #05420D #051C42
square
#42053A #422C05 #05420D #051C42
split-complementary
#42053A #1C4205 #05422C
monochromatic
#1C0219 #1C0219 #42053A #7B096C #B40E9E

Accessibility & contrast

On white

15.98
#42053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#42053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42053A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42053A#FFFFFF#000000##FFFFFF
##42053A1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42053a;
/* rgb */ color: rgb(66, 5, 58);
/* oklch */ color: oklch(26.5% 0.109 334.5);
Tailwind
colors: {
  custom: {
    50: '#794e70',
    500: '#42053a',
    950: '#000000',
  },
}
SCSS
$custom: #42053a;
$custom-light: #794e70;
$custom-dark: #000000;
JSON
{
  "hex": "#42053a",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 307.869,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26516,
    "c": 0.10941,
    "h": 334.5
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#42053A
secondary
#20822D
accent
#FC472C
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #42053A

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

Preview Lab → · Contrast checker → · Palette generator →

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