#42093F#42093F

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

Color values

HEX#42093F
RGBrgb(66, 9, 63)
HSLhsl(303, 76%, 15%)
HSVhsv(303, 86%, 26%)
CMYKcmyk(0%, 86.4%, 4.5%, 74.1%)
CIE-LABlab(13.90, 33.26, -19.40)
CIE-LCHlch(13.90, 38.50, 329.75°)
OKLaboklab(27.22% 0.0945 -0.0536)
OKLCHoklch(27.22% 0.109 330.4)
XYZxyz(3.2416, 1.7128, 4.8615)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42093F #09420C
analogous
#290942 #42093F #420923
triadic
#42093F #3F4209 #093F42
tetradic
#42093F #422909 #09420C #092342
square
#42093F #422909 #09420C #092342
split-complementary
#42093F #234209 #094229
monochromatic
#1B041A #1B041A #42093F #781072 #AE18A6

Accessibility & contrast

On white

15.64
#42093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42093F
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42093F#FFFFFF#000000##FFFFFF
##42093F1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E40
Deuteranopia (green-blind)
#1B263E
Tritanopia (blue-blind)
#451124
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42093f;
/* rgb */ color: rgb(66, 9, 63);
/* oklch */ color: oklch(27.2% 0.109 330.4);
Tailwind
colors: {
  custom: {
    50: '#795074',
    500: '#42093f',
    950: '#000000',
  },
}
SCSS
$custom: #42093f;
$custom-light: #795074;
$custom-dark: #000000;
JSON
{
  "hex": "#42093f",
  "rgb": {
    "r": 66,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 303.158,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27218,
    "c": 0.1086,
    "h": 330.4
  },
  "luminance": 0.01713
}

Semantic roles & 50–950 ramp

primary
#42093F
secondary
#27802C
accent
#F33F35
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #42093F

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

Preview Lab → · Contrast checker → · Palette generator →

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