#42133B#42133B

#42133B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.091 H 334.1°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#42133B
RGBrgb(66, 19, 59)
HSLhsl(309, 55%, 17%)
HSVhsv(309, 71%, 26%)
CMYKcmyk(0%, 71.2%, 10.6%, 74.1%)
CIE-LABlab(15.17, 28.25, -14.57)
CIE-LCHlch(15.17, 31.79, 332.71°)
OKLaboklab(28.06% 0.0818 -0.0398)
OKLCHoklch(28.06% 0.091 334.1)
XYZxyz(3.2691, 1.9400, 4.3391)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42133B #13421A
analogous
#321342 #42133B #421324
triadic
#42133B #3B4213 #133B42
tetradic
#42133B #423213 #13421A #132442
square
#42133B #423213 #13421A #132442
split-complementary
#42133B #244213 #134232
monochromatic
#180715 #180715 #42133B #722165 #A12E90

Accessibility & contrast

On white

15.13
#42133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#42133B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42133B
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42133B#FFFFFF#000000##FFFFFF
##42133B1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223C
Deuteranopia (green-blind)
#22293A
Tritanopia (blue-blind)
#451624
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42133b;
/* rgb */ color: rgb(66, 19, 59);
/* oklch */ color: oklch(28.1% 0.091 334.1);
Tailwind
colors: {
  custom: {
    50: '#785571',
    500: '#42133b',
    950: '#000000',
  },
}
SCSS
$custom: #42133b;
$custom-light: #785571;
$custom-dark: #000000;
JSON
{
  "hex": "#42133b",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 308.936,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28055,
    "c": 0.09093,
    "h": 334.1
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#42133B
secondary
#367B40
accent
#DF5F49
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #42133B

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

Preview Lab → · Contrast checker → · Palette generator →

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