#42153E#42153E

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

Color values

HEX#42153E
RGBrgb(66, 21, 62)
HSLhsl(305, 52%, 17%)
HSVhsv(305, 68%, 26%)
CMYKcmyk(0%, 68.2%, 6.1%, 74.1%)
CIE-LABlab(15.71, 27.82, -15.85)
CIE-LCHlch(15.71, 32.01, 330.33°)
OKLaboklab(28.5% 0.0793 -0.0434)
OKLCHoklch(28.5% 0.09 331.3)
XYZxyz(3.3844, 2.0426, 4.7725)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42153E #154219
analogous
#301542 #42153E #421528
triadic
#42153E #3E4215 #153E42
tetradic
#42153E #423015 #154219 #152842
square
#42153E #423015 #154219 #152842
split-complementary
#42153E #284215 #154230
monochromatic
#170716 #170716 #42153E #70246A #9F3395

Accessibility & contrast

On white

14.91
#42153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#42153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42153E
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42153E#FFFFFF#000000##FFFFFF
##42153E1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42153e;
/* rgb */ color: rgb(66, 21, 62);
/* oklch */ color: oklch(28.5% 0.090 331.3);
Tailwind
colors: {
  custom: {
    50: '#785673',
    500: '#42153e',
    950: '#000000',
  },
}
SCSS
$custom: #42153e;
$custom-light: #785673;
$custom-dark: #000000;
JSON
{
  "hex": "#42153e",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 305.333,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28504,
    "c": 0.09037,
    "h": 331.3
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#42153E
secondary
#397A3F
accent
#DB594D
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42153E

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

Preview Lab → · Contrast checker → · Palette generator →

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