#42153D#42153D

#42153D is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.089 H 332.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#42153D
RGBrgb(66, 21, 61)
HSLhsl(307, 52%, 17%)
HSVhsv(307, 68%, 26%)
CMYKcmyk(0%, 68.2%, 7.6%, 74.1%)
CIE-LABlab(15.65, 27.62, -15.23)
CIE-LCHlch(15.65, 31.54, 331.12°)
OKLaboklab(28.44% 0.0791 -0.0417)
OKLCHoklch(28.44% 0.089 332.2)
XYZxyz(3.3572, 2.0317, 4.6293)
Luminance0.0203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42153D #15421A
analogous
#311542 #42153D #421527
triadic
#42153D #3D4215 #153D42
tetradic
#42153D #423115 #15421A #152742
square
#42153D #423115 #15421A #152742
split-complementary
#42153D #274215 #154231
monochromatic
#170715 #170715 #42153D #702468 #9F3393

Accessibility & contrast

On white

14.93
#42153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42153D
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42153D#FFFFFF#000000##FFFFFF
##42153D1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233E
Deuteranopia (green-blind)
#22293C
Tritanopia (blue-blind)
#451926
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #42153d;
/* rgb */ color: rgb(66, 21, 61);
/* oklch */ color: oklch(28.4% 0.089 332.2);
Tailwind
colors: {
  custom: {
    50: '#785672',
    500: '#42153d',
    950: '#000000',
  },
}
SCSS
$custom: #42153d;
$custom-light: #785672;
$custom-dark: #000000;
JSON
{
  "hex": "#42153d",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 306.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28445,
    "c": 0.08941,
    "h": 332.2
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#42153D
secondary
#397A40
accent
#DB5C4D
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#090308
muted
#7B787B

Preview Lab

Preview with #42153D

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

Preview Lab → · Contrast checker → · Palette generator →

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