#42113E#42113E

#42113E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.097 H 331.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#42113E
RGBrgb(66, 17, 62)
HSLhsl(305, 59%, 16%)
HSVhsv(305, 74%, 26%)
CMYKcmyk(0%, 74.2%, 6.1%, 74.1%)
CIE-LABlab(14.99, 29.80, -16.97)
CIE-LCHlch(14.99, 34.29, 330.34°)
OKLaboklab(27.98% 0.085 -0.0466)
OKLCHoklch(27.98% 0.097 331.3)
XYZxyz(3.3167, 1.9072, 4.7499)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42113E #114215
analogous
#2E1142 #42113E #421126
triadic
#42113E #3E4211 #113E42
tetradic
#42113E #422E11 #114215 #112642
square
#42113E #422E11 #114215 #112642
split-complementary
#42113E #264211 #11422E
monochromatic
#180617 #180617 #42113E #731E6C #A32A99

Accessibility & contrast

On white

15.20
#42113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42113E
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42113E#FFFFFF#000000##FFFFFF
##42113E1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#451625
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42113e;
/* rgb */ color: rgb(66, 17, 62);
/* oklch */ color: oklch(28.0% 0.097 331.3);
Tailwind
colors: {
  custom: {
    50: '#785473',
    500: '#42113e',
    950: '#000000',
  },
}
SCSS
$custom: #42113e;
$custom-light: #785473;
$custom-dark: #000000;
JSON
{
  "hex": "#42113e",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 304.898,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27983,
    "c": 0.09693,
    "h": 331.3
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#42113E
secondary
#337C39
accent
#E25246
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42113E

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

Preview Lab → · Contrast checker → · Palette generator →

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