#42183F#42183F

#42183F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.0% C 0.086 H 330.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#42183F
RGBrgb(66, 24, 63)
HSLhsl(304, 47%, 18%)
HSVhsv(304, 64%, 26%)
CMYKcmyk(0%, 63.6%, 4.5%, 74.1%)
CIE-LABlab(16.36, 26.40, -15.53)
CIE-LCHlch(16.36, 30.63, 329.53°)
OKLaboklab(29% 0.0748 -0.0425)
OKLCHoklch(29% 0.086 330.4)
XYZxyz(3.4706, 2.1706, 4.9378)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42183F #18421B
analogous
#301842 #42183F #42182A
triadic
#42183F #3F4218 #183F42
tetradic
#42183F #423018 #18421B #182A42
square
#42183F #423018 #18421B #182A42
split-complementary
#42183F #2A4218 #184230
monochromatic
#160815 #160815 #42183F #6F286A #9C3995

Accessibility & contrast

On white

14.64
#42183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42183F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42183F#FFFFFF#000000##FFFFFF
##42183F1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152540
Deuteranopia (green-blind)
#232B3E
Tritanopia (blue-blind)
#451C28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #42183f;
/* rgb */ color: rgb(66, 24, 63);
/* oklch */ color: oklch(29.0% 0.086 330.4);
Tailwind
colors: {
  custom: {
    50: '#785874',
    500: '#42183f',
    950: '#000000',
  },
}
SCSS
$custom: #42183f;
$custom-light: #785874;
$custom-dark: #000000;
JSON
{
  "hex": "#42183f",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 304.286,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28998,
    "c": 0.08603,
    "h": 330.4
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#42183F
secondary
#3D7941
accent
#D65B51
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42183F

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

Preview Lab → · Contrast checker → · Palette generator →

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