#42143E#42143E

#42143E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.092 H 331.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#42143E
RGBrgb(66, 20, 62)
HSLhsl(305, 53%, 17%)
HSVhsv(305, 70%, 26%)
CMYKcmyk(0%, 69.7%, 6.1%, 74.1%)
CIE-LABlab(15.52, 28.33, -16.14)
CIE-LCHlch(15.52, 32.61, 330.33°)
OKLaboklab(28.37% 0.0807 -0.0443)
OKLCHoklch(28.37% 0.092 331.3)
XYZxyz(3.3664, 2.0066, 4.7665)
Luminance0.0201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42143E #144218
analogous
#2F1442 #42143E #421427
triadic
#42143E #3E4214 #143E42
tetradic
#42143E #422F14 #144218 #142742
square
#42143E #422F14 #144218 #142742
split-complementary
#42143E #274214 #14422F
monochromatic
#170716 #170716 #42143E #71226A #A03096

Accessibility & contrast

On white

14.99
#42143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#42143E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42143E
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42143E#FFFFFF#000000##FFFFFF
##42143E1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11233F
Deuteranopia (green-blind)
#21293D
Tritanopia (blue-blind)
#451826
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #42143e;
/* rgb */ color: rgb(66, 20, 62);
/* oklch */ color: oklch(28.4% 0.092 331.3);
Tailwind
colors: {
  custom: {
    50: '#785573',
    500: '#42143e',
    950: '#000000',
  },
}
SCSS
$custom: #42143e;
$custom-light: #785573;
$custom-dark: #000000;
JSON
{
  "hex": "#42143e",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 305.217,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28368,
    "c": 0.09208,
    "h": 331.3
  },
  "luminance": 0.02006
}

Semantic roles & 50–950 ramp

primary
#42143E
secondary
#387A3D
accent
#DD584B
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42143E

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

Preview Lab → · Contrast checker → · Palette generator →

#42143E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva