#42073C#42073C

#42073C is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.108 H 332.9°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#42073C
RGBrgb(66, 7, 60)
HSLhsl(306, 81%, 14%)
HSVhsv(306, 89%, 26%)
CMYKcmyk(0%, 89.4%, 9.1%, 74.1%)
CIE-LABlab(13.45, 33.46, -17.98)
CIE-LCHlch(13.45, 37.99, 331.75°)
OKLaboklab(26.83% 0.0966 -0.0494)
OKLCHoklch(26.83% 0.108 332.9)
XYZxyz(3.1384, 1.6367, 4.4247)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42073C #07420D
analogous
#2B0742 #42073C #42071F
triadic
#42073C #3C4207 #073C42
tetradic
#42073C #422B07 #07420D #071F42
square
#42073C #422B07 #07420D #071F42
split-complementary
#42073C #1F4207 #07422B
monochromatic
#1C0319 #1C0319 #42073C #790D6E #B113A1

Accessibility & contrast

On white

15.82
#42073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42073C
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42073C#FFFFFF#000000##FFFFFF
##42073C1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3D
Deuteranopia (green-blind)
#1C253B
Tritanopia (blue-blind)
#450E21
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42073c;
/* rgb */ color: rgb(66, 7, 60);
/* oklch */ color: oklch(26.8% 0.108 332.9);
Tailwind
colors: {
  custom: {
    50: '#794f72',
    500: '#42073c',
    950: '#000000',
  },
}
SCSS
$custom: #42073c;
$custom-light: #794f72;
$custom-dark: #000000;
JSON
{
  "hex": "#42073c",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 306.102,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26835,
    "c": 0.10849,
    "h": 332.9
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#42073C
secondary
#24812D
accent
#F74531
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #42073C

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

Preview Lab → · Contrast checker → · Palette generator →

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