#420741#420741

#420741 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.113 H 328.9°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#420741
RGBrgb(66, 7, 65)
HSLhsl(301, 81%, 14%)
HSVhsv(301, 89%, 26%)
CMYKcmyk(0%, 89.4%, 1.5%, 74.1%)
CIE-LABlab(13.78, 34.37, -21.00)
CIE-LCHlch(13.78, 40.28, 328.57°)
OKLaboklab(27.18% 0.0965 -0.0582)
OKLCHoklch(27.18% 0.113 328.9)
XYZxyz(3.2769, 1.6921, 5.1540)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420741 #074208
analogous
#260742 #420741 #420724
triadic
#420741 #414207 #074142
tetradic
#420741 #422607 #074208 #072442
square
#420741 #422607 #074208 #072442
split-complementary
#420741 #244207 #074226
monochromatic
#1C031B #1C031B #420741 #790D77 #B113AE

Accessibility & contrast

On white

15.69
#420741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#420741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420741
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420741#FFFFFF#000000##FFFFFF
##4207411.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#192640
Tritanopia (blue-blind)
#451124
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420741;
/* rgb */ color: rgb(66, 7, 65);
/* oklch */ color: oklch(27.2% 0.113 328.9);
Tailwind
colors: {
  custom: {
    50: '#795076',
    500: '#420741',
    950: '#000000',
  },
}
SCSS
$custom: #420741;
$custom-light: #795076;
$custom-dark: #000000;
JSON
{
  "hex": "#420741",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 301.017,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27175,
    "c": 0.11272,
    "h": 328.9
  },
  "luminance": 0.01692
}

Semantic roles & 50–950 ramp

primary
#420741
secondary
#248125
accent
#F73431
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420741

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

Preview Lab → · Contrast checker → · Palette generator →

#420741 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva