#42073F#42073F

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

Color values

HEX#42073F
RGBrgb(66, 7, 63)
HSLhsl(303, 81%, 14%)
HSVhsv(303, 89%, 26%)
CMYKcmyk(0%, 89.4%, 4.5%, 74.1%)
CIE-LABlab(13.65, 34.00, -19.80)
CIE-LCHlch(13.65, 39.34, 329.78°)
OKLaboklab(27.04% 0.0966 -0.0547)
OKLCHoklch(27.04% 0.111 330.5)
XYZxyz(3.2199, 1.6694, 4.8543)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42073F #07420A
analogous
#280742 #42073F #420722
triadic
#42073F #3F4207 #073F42
tetradic
#42073F #422807 #07420A #072242
square
#42073F #422807 #07420A #072242
split-complementary
#42073F #224207 #074228
monochromatic
#1C031A #1C031A #42073F #790D74 #B113A9

Accessibility & contrast

On white

15.74
#42073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42073F
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42073F#FFFFFF#000000##FFFFFF
##42073F1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E40
Deuteranopia (green-blind)
#1A263E
Tritanopia (blue-blind)
#451023
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42073f;
/* rgb */ color: rgb(66, 7, 63);
/* oklch */ color: oklch(27.0% 0.111 330.5);
Tailwind
colors: {
  custom: {
    50: '#794f74',
    500: '#42073f',
    950: '#000000',
  },
}
SCSS
$custom: #42073f;
$custom-light: #794f74;
$custom-dark: #000000;
JSON
{
  "hex": "#42073f",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 303.051,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27036,
    "c": 0.11101,
    "h": 330.5
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#42073F
secondary
#248129
accent
#F73B31
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #42073F

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

Preview Lab → · Contrast checker → · Palette generator →

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