#42053B#42053B

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

Color values

HEX#42053B
RGBrgb(66, 5, 59)
HSLhsl(307, 86%, 14%)
HSVhsv(307, 92%, 26%)
CMYKcmyk(0%, 92.4%, 10.6%, 74.1%)
CIE-LABlab(13.13, 34.05, -17.78)
CIE-LCHlch(13.13, 38.41, 332.42°)
OKLaboklab(26.58% 0.0988 -0.0489)
OKLCHoklch(26.58% 0.11 333.7)
XYZxyz(3.0905, 1.5828, 4.2796)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42053B #05420C
analogous
#2B0542 #42053B #42051D
triadic
#42053B #3B4205 #053B42
tetradic
#42053B #422B05 #05420C #051D42
square
#42053B #422B05 #05420C #051D42
split-complementary
#42053B #1D4205 #05422B
monochromatic
#1C0219 #1C0219 #42053B #7B096E #B40EA1

Accessibility & contrast

On white

15.95
#42053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42053B
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42053B#FFFFFF#000000##FFFFFF
##42053B1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#1C253A
Tritanopia (blue-blind)
#460C20
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42053b;
/* rgb */ color: rgb(66, 5, 59);
/* oklch */ color: oklch(26.6% 0.110 333.7);
Tailwind
colors: {
  custom: {
    50: '#794e71',
    500: '#42053b',
    950: '#000000',
  },
}
SCSS
$custom: #42053b;
$custom-light: #794e71;
$custom-dark: #000000;
JSON
{
  "hex": "#42053b",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 306.885,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26581,
    "c": 0.11021,
    "h": 333.7
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#42053B
secondary
#20822C
accent
#FC442C
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #42053B

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

Preview Lab → · Contrast checker → · Palette generator →

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