#42053C#42053C

#42053C is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.111 H 332.9°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#42053C
RGBrgb(66, 5, 60)
HSLhsl(306, 86%, 14%)
HSVhsv(306, 92%, 26%)
CMYKcmyk(0%, 92.4%, 9.1%, 74.1%)
CIE-LABlab(13.19, 34.22, -18.40)
CIE-LCHlch(13.19, 38.85, 331.74°)
OKLaboklab(26.65% 0.0988 -0.0506)
OKLCHoklch(26.65% 0.111 332.9)
XYZxyz(3.1167, 1.5933, 4.4175)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42053C #05420B
analogous
#2A0542 #42053C #42051E
triadic
#42053C #3C4205 #053C42
tetradic
#42053C #422A05 #05420B #051E42
square
#42053C #422A05 #05420B #051E42
split-complementary
#42053C #1E4205 #05422A
monochromatic
#1C021A #1C021A #42053C #7B0970 #B40EA3

Accessibility & contrast

On white

15.93
#42053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#42053C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42053C
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42053C#FFFFFF#000000##FFFFFF
##42053C1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3D
Deuteranopia (green-blind)
#1B253B
Tritanopia (blue-blind)
#450C21
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42053c;
/* rgb */ color: rgb(66, 5, 60);
/* oklch */ color: oklch(26.6% 0.111 332.9);
Tailwind
colors: {
  custom: {
    50: '#794e72',
    500: '#42053c',
    950: '#000000',
  },
}
SCSS
$custom: #42053c;
$custom-light: #794e72;
$custom-dark: #000000;
JSON
{
  "hex": "#42053c",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 305.902,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26648,
    "c": 0.11102,
    "h": 332.9
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#42053C
secondary
#20822A
accent
#FC402C
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #42053C

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

Preview Lab → · Contrast checker → · Palette generator →

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