#42093E#42093E

#42093E is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.108 H 331.3°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#42093E
RGBrgb(66, 9, 62)
HSLhsl(304, 76%, 15%)
HSVhsv(304, 86%, 26%)
CMYKcmyk(0%, 86.4%, 6.1%, 74.1%)
CIE-LABlab(13.84, 33.08, -18.79)
CIE-LCHlch(13.84, 38.04, 330.40°)
OKLaboklab(27.15% 0.0945 -0.0518)
OKLCHoklch(27.15% 0.108 331.3)
XYZxyz(3.2140, 1.7017, 4.7157)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42093E #09420D
analogous
#2A0942 #42093E #420921
triadic
#42093E #3E4209 #093E42
tetradic
#42093E #422A09 #09420D #092142
square
#42093E #422A09 #09420D #092142
split-complementary
#42093E #214209 #09422A
monochromatic
#1B0419 #1B0419 #42093E #781071 #AE18A3

Accessibility & contrast

On white

15.67
#42093E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#42093E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42093E
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42093E#FFFFFF#000000##FFFFFF
##42093E1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#1C263D
Tritanopia (blue-blind)
#451023
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42093e;
/* rgb */ color: rgb(66, 9, 62);
/* oklch */ color: oklch(27.2% 0.108 331.3);
Tailwind
colors: {
  custom: {
    50: '#795073',
    500: '#42093e',
    950: '#000000',
  },
}
SCSS
$custom: #42093e;
$custom-light: #795073;
$custom-dark: #000000;
JSON
{
  "hex": "#42093e",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 62
  },
  "hsl": {
    "h": 304.211,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27151,
    "c": 0.10774,
    "h": 331.3
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#42093E
secondary
#27802D
accent
#F34335
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #42093E

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

Preview Lab → · Contrast checker → · Palette generator →

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