#42183E#42183E

#42183E is a dark, moderate purple. Relative luminance 0.022; OKLCH L 28.9% C 0.085 H 331.3°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#42183E
RGBrgb(66, 24, 62)
HSLhsl(306, 47%, 18%)
HSVhsv(306, 64%, 26%)
CMYKcmyk(0%, 63.6%, 6.1%, 74.1%)
CIE-LABlab(16.30, 26.20, -14.92)
CIE-LCHlch(16.30, 30.15, 330.34°)
OKLaboklab(28.94% 0.0746 -0.0408)
OKLCHoklch(28.94% 0.085 331.3)
XYZxyz(3.4429, 2.1596, 4.7920)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42183E #18421C
analogous
#311842 #42183E #421829
triadic
#42183E #3E4218 #183E42
tetradic
#42183E #423118 #18421C #182942
square
#42183E #423118 #18421C #182942
split-complementary
#42183E #294218 #184231
monochromatic
#160815 #160815 #42183E #6F2868 #9C3992

Accessibility & contrast

On white

14.67
#42183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#42183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42183E
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42183E#FFFFFF#000000##FFFFFF
##42183E1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16253F
Deuteranopia (green-blind)
#232B3D
Tritanopia (blue-blind)
#451C28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42183e;
/* rgb */ color: rgb(66, 24, 62);
/* oklch */ color: oklch(28.9% 0.085 331.3);
Tailwind
colors: {
  custom: {
    50: '#785873',
    500: '#42183e',
    950: '#000000',
  },
}
SCSS
$custom: #42183e;
$custom-light: #785873;
$custom-dark: #000000;
JSON
{
  "hex": "#42183e",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 305.714,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28939,
    "c": 0.08503,
    "h": 331.3
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#42183E
secondary
#3D7943
accent
#D65E51
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42183E

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

Preview Lab → · Contrast checker → · Palette generator →

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