#42113A#42113A

#42113A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.7% C 0.093 H 334.9°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#42113A
RGBrgb(66, 17, 58)
HSLhsl(310, 59%, 16%)
HSVhsv(310, 74%, 26%)
CMYKcmyk(0%, 74.2%, 12.1%, 74.1%)
CIE-LABlab(14.76, 29.04, -14.50)
CIE-LCHlch(14.76, 32.46, 333.47°)
OKLaboklab(27.74% 0.0845 -0.0395)
OKLCHoklch(27.74% 0.093 334.9)
XYZxyz(3.2110, 1.8649, 4.1930)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42113A #114219
analogous
#321142 #42113A #421122
triadic
#42113A #3A4211 #113A42
tetradic
#42113A #423211 #114219 #112242
square
#42113A #423211 #114219 #112242
split-complementary
#42113A #224211 #114232
monochromatic
#180615 #180615 #42113A #731E65 #A32A90

Accessibility & contrast

On white

15.29
#42113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#42113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42113A
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42113A#FFFFFF#000000##FFFFFF
##42113A1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11213B
Deuteranopia (green-blind)
#212839
Tritanopia (blue-blind)
#461423
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42113a;
/* rgb */ color: rgb(66, 17, 58);
/* oklch */ color: oklch(27.7% 0.093 334.9);
Tailwind
colors: {
  custom: {
    50: '#785370',
    500: '#42113a',
    950: '#000000',
  },
}
SCSS
$custom: #42113a;
$custom-light: #785370;
$custom-dark: #000000;
JSON
{
  "hex": "#42113a",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 309.796,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2774,
    "c": 0.09328,
    "h": 334.9
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#42113A
secondary
#337C3F
accent
#E25F46
background
#F7F4F6
surface
#EDE8EC
border
#C8C4C7
text
#090307
muted
#7B787A

Preview Lab

Preview with #42113A

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

Preview Lab → · Contrast checker → · Palette generator →

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