#42113C#42113C

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

Color values

HEX#42113C
RGBrgb(66, 17, 60)
HSLhsl(307, 59%, 16%)
HSVhsv(307, 74%, 26%)
CMYKcmyk(0%, 74.2%, 9.1%, 74.1%)
CIE-LABlab(14.88, 29.42, -15.74)
CIE-LCHlch(14.88, 33.36, 331.85°)
OKLaboklab(27.86% 0.0848 -0.0431)
OKLCHoklch(27.86% 0.095 333.1)
XYZxyz(3.2628, 1.8857, 4.4662)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42113C #114217
analogous
#301142 #42113C #421124
triadic
#42113C #3C4211 #113C42
tetradic
#42113C #423011 #114217 #112442
square
#42113C #423011 #114217 #112442
split-complementary
#42113C #244211 #114230
monochromatic
#180616 #180616 #42113C #731E68 #A32A94

Accessibility & contrast

On white

15.25
#42113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42113C
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42113C#FFFFFF#000000##FFFFFF
##42113C1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F213D
Deuteranopia (green-blind)
#20283B
Tritanopia (blue-blind)
#451524
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42113c;
/* rgb */ color: rgb(66, 17, 60);
/* oklch */ color: oklch(27.9% 0.095 333.1);
Tailwind
colors: {
  custom: {
    50: '#785472',
    500: '#42113c',
    950: '#000000',
  },
}
SCSS
$custom: #42113c;
$custom-light: #785472;
$custom-dark: #000000;
JSON
{
  "hex": "#42113c",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 307.347,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2786,
    "c": 0.09508,
    "h": 333.1
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#42113C
secondary
#337C3C
accent
#E25946
background
#F7F4F6
surface
#EDE8EC
border
#C8C4C7
text
#090308
muted
#7B787B

Preview Lab

Preview with #42113C

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

Preview Lab → · Contrast checker → · Palette generator →

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