#42114C#42114C

#42114C is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.111 H 320.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#42114C
RGBrgb(66, 17, 76)
HSLhsl(290, 63%, 18%)
HSVhsv(290, 78%, 30%)
CMYKcmyk(13.2%, 77.6%, 0%, 70.2%)
CIE-LABlab(15.91, 32.71, -25.26)
CIE-LCHlch(15.91, 41.33, 322.32°)
OKLaboklab(28.94% 0.0852 -0.0707)
OKLCHoklch(28.94% 0.111 320.3)
XYZxyz(3.7516, 2.0811, 7.0402)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42114C #1B4C11
analogous
#24114C #42114C #4C1138
triadic
#42114C #4C4211 #114C42
tetradic
#42114C #4C2411 #1B4C11 #11384C
square
#42114C #4C2411 #1B4C11 #11384C
split-complementary
#42114C #384C11 #114C24
monochromatic
#160619 #17061A #42114C #6D1C7E #9927B0

Accessibility & contrast

On white

14.83
#42114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#42114C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42114C
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42114C#FFFFFF#000000##FFFFFF
##42114C1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#17294B
Tritanopia (blue-blind)
#421C2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42114c;
/* rgb */ color: rgb(66, 17, 76);
/* oklch */ color: oklch(28.9% 0.111 320.3);
Tailwind
colors: {
  custom: {
    50: '#79547e',
    500: '#42114c',
    950: '#000000',
  },
}
SCSS
$custom: #42114c;
$custom-light: #79547e;
$custom-dark: #000000;
JSON
{
  "hex": "#42114c",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 289.831,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28937,
    "c": 0.11072,
    "h": 320.3
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#42114C
secondary
#418533
accent
#E6415D
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42114C

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

Preview Lab → · Contrast checker → · Palette generator →

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