#42073E#42073E

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

Color values

HEX#42073E
RGBrgb(66, 7, 62)
HSLhsl(304, 81%, 14%)
HSVhsv(304, 89%, 26%)
CMYKcmyk(0%, 89.4%, 6.1%, 74.1%)
CIE-LABlab(13.58, 33.82, -19.20)
CIE-LCHlch(13.58, 38.89, 330.42°)
OKLaboklab(26.97% 0.0966 -0.053)
OKLCHoklch(26.97% 0.11 331.3)
XYZxyz(3.1922, 1.6583, 4.7084)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42073E #07420B
analogous
#290742 #42073E #420721
triadic
#42073E #3E4207 #073E42
tetradic
#42073E #422907 #07420B #072142
square
#42073E #422907 #07420B #072142
split-complementary
#42073E #214207 #074229
monochromatic
#1C031A #1C031A #42073E #790D72 #B113A6

Accessibility & contrast

On white

15.77
#42073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#42073E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42073E
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42073E#FFFFFF#000000##FFFFFF
##42073E1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E3F
Deuteranopia (green-blind)
#1B263D
Tritanopia (blue-blind)
#450F22
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42073e;
/* rgb */ color: rgb(66, 7, 62);
/* oklch */ color: oklch(27.0% 0.110 331.3);
Tailwind
colors: {
  custom: {
    50: '#794f73',
    500: '#42073e',
    950: '#000000',
  },
}
SCSS
$custom: #42073e;
$custom-light: #794f73;
$custom-dark: #000000;
JSON
{
  "hex": "#42073e",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 304.068,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26968,
    "c": 0.11016,
    "h": 331.3
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

primary
#42073E
secondary
#24812A
accent
#F73E31
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #42073E

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

Preview Lab → · Contrast checker → · Palette generator →

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