#42143F#42143F

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

Color values

HEX#42143F
RGBrgb(66, 20, 63)
HSLhsl(304, 53%, 17%)
HSVhsv(304, 70%, 26%)
CMYKcmyk(0%, 69.7%, 4.5%, 74.1%)
CIE-LABlab(15.58, 28.53, -16.75)
CIE-LCHlch(15.58, 33.09, 329.58°)
OKLaboklab(28.43% 0.0809 -0.046)
OKLCHoklch(28.43% 0.093 330.4)
XYZxyz(3.3941, 2.0177, 4.9123)
Luminance0.0202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42143F #144217
analogous
#2E1442 #42143F #421428
triadic
#42143F #3F4214 #143F42
tetradic
#42143F #422E14 #144217 #142842
square
#42143F #422E14 #144217 #142842
split-complementary
#42143F #284214 #14422E
monochromatic
#170716 #170716 #42143F #71226C #A03099

Accessibility & contrast

On white

14.96
#42143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42143F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42143F#FFFFFF#000000##FFFFFF
##42143F1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112340
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#451927
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #42143f;
/* rgb */ color: rgb(66, 20, 63);
/* oklch */ color: oklch(28.4% 0.093 330.4);
Tailwind
colors: {
  custom: {
    50: '#785574',
    500: '#42143f',
    950: '#000000',
  },
}
SCSS
$custom: #42143f;
$custom-light: #785574;
$custom-dark: #000000;
JSON
{
  "hex": "#42143f",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 303.913,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28429,
    "c": 0.09305,
    "h": 330.4
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#42143F
secondary
#387A3C
accent
#DD544B
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42143F

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

Preview Lab → · Contrast checker → · Palette generator →

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