#42053F#42053F

#42053F is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.113 H 330.5°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#42053F
RGBrgb(66, 5, 63)
HSLhsl(303, 86%, 14%)
HSVhsv(303, 92%, 26%)
CMYKcmyk(0%, 92.4%, 4.5%, 74.1%)
CIE-LABlab(13.39, 34.75, -20.21)
CIE-LCHlch(13.39, 40.20, 329.81°)
OKLaboklab(26.85% 0.0988 -0.0559)
OKLCHoklch(26.85% 0.113 330.5)
XYZxyz(3.1982, 1.6259, 4.8471)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42053F #054208
analogous
#270542 #42053F #420521
triadic
#42053F #3F4205 #053F42
tetradic
#42053F #422705 #054208 #052142
square
#42053F #422705 #054208 #052142
split-complementary
#42053F #214205 #054227
monochromatic
#1C021B #1C021B #42053F #7B0975 #B40EAC

Accessibility & contrast

On white

15.85
#42053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#42053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42053F
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42053F#FFFFFF#000000##FFFFFF
##42053F1.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)
#001D40
Deuteranopia (green-blind)
#19253E
Tritanopia (blue-blind)
#450E23
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42053f;
/* rgb */ color: rgb(66, 5, 63);
/* oklch */ color: oklch(26.9% 0.113 330.5);
Tailwind
colors: {
  custom: {
    50: '#794f74',
    500: '#42053f',
    950: '#000000',
  },
}
SCSS
$custom: #42053f;
$custom-light: #794f74;
$custom-dark: #000000;
JSON
{
  "hex": "#42053f",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 302.951,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26852,
    "c": 0.11348,
    "h": 330.5
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#42053F
secondary
#208225
accent
#FC362C
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #42053F

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

Preview Lab → · Contrast checker → · Palette generator →

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