#42113B#42113B

#42113B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.094 H 334.0°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#42113B
RGBrgb(66, 17, 59)
HSLhsl(309, 59%, 16%)
HSVhsv(309, 74%, 26%)
CMYKcmyk(0%, 74.2%, 10.6%, 74.1%)
CIE-LABlab(14.82, 29.23, -15.12)
CIE-LCHlch(14.82, 32.91, 332.64°)
OKLaboklab(27.8% 0.0846 -0.0413)
OKLCHoklch(27.8% 0.094 334)
XYZxyz(3.2367, 1.8752, 4.3283)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42113B #114218
analogous
#311142 #42113B #421123
triadic
#42113B #3B4211 #113B42
tetradic
#42113B #423111 #114218 #112342
square
#42113B #423111 #114218 #112342
split-complementary
#42113B #234211 #114231
monochromatic
#180616 #180616 #42113B #731E67 #A32A92

Accessibility & contrast

On white

15.27
#42113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42113B
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42113B#FFFFFF#000000##FFFFFF
##42113B1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10213C
Deuteranopia (green-blind)
#21283A
Tritanopia (blue-blind)
#451524
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42113b;
/* rgb */ color: rgb(66, 17, 59);
/* oklch */ color: oklch(27.8% 0.094 334.0);
Tailwind
colors: {
  custom: {
    50: '#785471',
    500: '#42113b',
    950: '#000000',
  },
}
SCSS
$custom: #42113b;
$custom-light: #785471;
$custom-dark: #000000;
JSON
{
  "hex": "#42113b",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 308.571,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.278,
    "c": 0.09417,
    "h": 334
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#42113B
secondary
#337C3E
accent
#E25C46
background
#F7F4F6
surface
#EDE8EC
border
#C8C4C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #42113B

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

Preview Lab → · Contrast checker → · Palette generator →

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