#42114A#42114A

#42114A is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.109 H 321.7°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#42114A
RGBrgb(66, 17, 74)
HSLhsl(292, 63%, 18%)
HSVhsv(292, 77%, 29%)
CMYKcmyk(10.8%, 77%, 0%, 71%)
CIE-LABlab(15.77, 32.27, -24.11)
CIE-LCHlch(15.77, 40.28, 323.24°)
OKLaboklab(28.79% 0.0853 -0.0673)
OKLCHoklch(28.79% 0.109 321.7)
XYZxyz(3.6831, 2.0538, 6.6797)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42114A #194A11
analogous
#25114A #42114A #4A1135
triadic
#42114A #4A4211 #114A42
tetradic
#42114A #4A2511 #194A11 #11354A
square
#42114A #4A2511 #194A11 #11354A
split-complementary
#42114A #354A11 #114A25
monochromatic
#160619 #160619 #42114A #6E1C7C #9B28AE

Accessibility & contrast

On white

14.89
#42114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#42114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42114A
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42114A#FFFFFF#000000##FFFFFF
##42114A1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244C
Deuteranopia (green-blind)
#182949
Tritanopia (blue-blind)
#431B2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #42114a;
/* rgb */ color: rgb(66, 17, 74);
/* oklch */ color: oklch(28.8% 0.109 321.7);
Tailwind
colors: {
  custom: {
    50: '#79547d',
    500: '#42114a',
    950: '#000000',
  },
}
SCSS
$custom: #42114a;
$custom-light: #79547d;
$custom-dark: #000000;
JSON
{
  "hex": "#42114a",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 291.579,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28791,
    "c": 0.10868,
    "h": 321.7
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#42114A
secondary
#3F8333
accent
#E64259
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #42114A

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

Preview Lab → · Contrast checker → · Palette generator →

#42114A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva