#42113D#42113D

#42113D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.096 H 332.1°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#42113D
RGBrgb(66, 17, 61)
HSLhsl(306, 59%, 16%)
HSVhsv(306, 74%, 26%)
CMYKcmyk(0%, 74.2%, 7.6%, 74.1%)
CIE-LABlab(14.93, 29.61, -16.36)
CIE-LCHlch(14.93, 33.83, 331.08°)
OKLaboklab(27.92% 0.0849 -0.0448)
OKLCHoklch(27.92% 0.096 332.1)
XYZxyz(3.2895, 1.8963, 4.6067)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42113D #114216
analogous
#2F1142 #42113D #421125
triadic
#42113D #3D4211 #113D42
tetradic
#42113D #422F11 #114216 #112542
square
#42113D #422F11 #114216 #112542
split-complementary
#42113D #254211 #11422F
monochromatic
#180616 #180616 #42113D #731E6A #A32A97

Accessibility & contrast

On white

15.23
#42113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#42113D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42113D
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42113D#FFFFFF#000000##FFFFFF
##42113D1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F213E
Deuteranopia (green-blind)
#20283C
Tritanopia (blue-blind)
#451625
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42113d;
/* rgb */ color: rgb(66, 17, 61);
/* oklch */ color: oklch(27.9% 0.096 332.1);
Tailwind
colors: {
  custom: {
    50: '#785472',
    500: '#42113d',
    950: '#000000',
  },
}
SCSS
$custom: #42113d;
$custom-light: #785472;
$custom-dark: #000000;
JSON
{
  "hex": "#42113d",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 306.122,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27921,
    "c": 0.096,
    "h": 332.1
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#42113D
secondary
#337C3B
accent
#E25646
background
#F7F4F6
surface
#EDE8EC
border
#C8C4C7
text
#090308
muted
#7B787B

Preview Lab

Preview with #42113D

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

Preview Lab → · Contrast checker → · Palette generator →

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