#42153B#42153B

#42153B is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.088 H 334.2°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#42153B
RGBrgb(66, 21, 59)
HSLhsl(309, 52%, 17%)
HSVhsv(309, 68%, 26%)
CMYKcmyk(0%, 68.2%, 10.6%, 74.1%)
CIE-LABlab(15.54, 27.23, -13.99)
CIE-LCHlch(15.54, 30.61, 332.80°)
OKLaboklab(28.33% 0.0788 -0.0381)
OKLCHoklch(28.33% 0.088 334.2)
XYZxyz(3.3044, 2.0106, 4.3509)
Luminance0.0201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42153B #15421C
analogous
#331542 #42153B #421525
triadic
#42153B #3B4215 #153B42
tetradic
#42153B #423315 #15421C #152542
square
#42153B #423315 #15421C #152542
split-complementary
#42153B #254215 #154233
monochromatic
#170715 #170715 #42153B #702465 #9F338E

Accessibility & contrast

On white

14.98
#42153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#42153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42153B
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42153B#FFFFFF#000000##FFFFFF
##42153B1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14233C
Deuteranopia (green-blind)
#23293A
Tritanopia (blue-blind)
#451825
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #42153b;
/* rgb */ color: rgb(66, 21, 59);
/* oklch */ color: oklch(28.3% 0.088 334.2);
Tailwind
colors: {
  custom: {
    50: '#785671',
    500: '#42153b',
    950: '#000000',
  },
}
SCSS
$custom: #42153b;
$custom-light: #785671;
$custom-dark: #000000;
JSON
{
  "hex": "#42153b",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 309.333,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28328,
    "c": 0.08751,
    "h": 334.2
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#42153B
secondary
#397A43
accent
#DB634D
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #42153B

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

Preview Lab → · Contrast checker → · Palette generator →

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