#42093D#42093D

#42093D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.107 H 332.1°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#42093D
RGBrgb(66, 9, 61)
HSLhsl(305, 76%, 15%)
HSVhsv(305, 86%, 26%)
CMYKcmyk(0%, 86.4%, 7.6%, 74.1%)
CIE-LABlab(13.77, 32.90, -18.18)
CIE-LCHlch(13.77, 37.59, 331.07°)
OKLaboklab(27.08% 0.0944 -0.05)
OKLCHoklch(27.08% 0.107 332.1)
XYZxyz(3.1868, 1.6908, 4.5725)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42093D #09420E
analogous
#2B0942 #42093D #420921
triadic
#42093D #3D4209 #093D42
tetradic
#42093D #422B09 #09420E #092142
square
#42093D #422B09 #09420E #092142
split-complementary
#42093D #214209 #09422B
monochromatic
#1B0419 #1B0419 #42093D #78106F #AE18A1

Accessibility & contrast

On white

15.69
#42093D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42093D
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42093D#FFFFFF#000000##FFFFFF
##42093D1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3E
Deuteranopia (green-blind)
#1C263C
Tritanopia (blue-blind)
#451022
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42093d;
/* rgb */ color: rgb(66, 9, 61);
/* oklch */ color: oklch(27.1% 0.107 332.1);
Tailwind
colors: {
  custom: {
    50: '#795072',
    500: '#42093d',
    950: '#000000',
  },
}
SCSS
$custom: #42093d;
$custom-light: #795072;
$custom-dark: #000000;
JSON
{
  "hex": "#42093d",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 61
  },
  "hsl": {
    "h": 305.263,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27085,
    "c": 0.10687,
    "h": 332.1
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#42093D
secondary
#27802F
accent
#F34635
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #42093D

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

Preview Lab → · Contrast checker → · Palette generator →

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