#42073B#42073B

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

Color values

HEX#42073B
RGBrgb(66, 7, 59)
HSLhsl(307, 81%, 14%)
HSVhsv(307, 89%, 26%)
CMYKcmyk(0%, 89.4%, 10.6%, 74.1%)
CIE-LABlab(13.39, 33.28, -17.37)
CIE-LCHlch(13.39, 37.54, 332.44°)
OKLaboklab(26.77% 0.0965 -0.0477)
OKLCHoklch(26.77% 0.108 333.7)
XYZxyz(3.1122, 1.6263, 4.2868)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42073B #07420E
analogous
#2C0742 #42073B #42071E
triadic
#42073B #3B4207 #073B42
tetradic
#42073B #422C07 #07420E #071E42
square
#42073B #422C07 #07420E #071E42
split-complementary
#42073B #1E4207 #07422C
monochromatic
#1C0319 #1C0319 #42073B #790D6C #B1139E

Accessibility & contrast

On white

15.85
#42073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42073B
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42073B#FFFFFF#000000##FFFFFF
##42073B1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051D3C
Deuteranopia (green-blind)
#1C253A
Tritanopia (blue-blind)
#460D21
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #42073b;
/* rgb */ color: rgb(66, 7, 59);
/* oklch */ color: oklch(26.8% 0.108 333.7);
Tailwind
colors: {
  custom: {
    50: '#794f71',
    500: '#42073b',
    950: '#000000',
  },
}
SCSS
$custom: #42073b;
$custom-light: #794f71;
$custom-dark: #000000;
JSON
{
  "hex": "#42073b",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 307.119,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2677,
    "c": 0.10767,
    "h": 333.7
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#42073B
secondary
#24812F
accent
#F74831
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #42073B

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

Preview Lab → · Contrast checker → · Palette generator →

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