#42114D#42114D

#42114D is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.112 H 319.6°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#42114D
RGBrgb(66, 17, 77)
HSLhsl(289, 64%, 18%)
HSVhsv(289, 78%, 30%)
CMYKcmyk(14.3%, 77.9%, 0%, 69.8%)
CIE-LABlab(15.98, 32.93, -25.83)
CIE-LCHlch(15.98, 41.85, 321.88°)
OKLaboklab(29.01% 0.0851 -0.0724)
OKLCHoklch(29.01% 0.112 319.6)
XYZxyz(3.7866, 2.0952, 7.2247)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42114D #1C4D11
analogous
#24114D #42114D #4D113A
triadic
#42114D #4D4211 #114D42
tetradic
#42114D #4D2411 #1C4D11 #113A4D
square
#42114D #4D2411 #1C4D11 #113A4D
split-complementary
#42114D #3A4D11 #114D24
monochromatic
#150619 #17061B #42114D #6D1C7F #9827B1

Accessibility & contrast

On white

14.80
#42114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42114D
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42114D#FFFFFF#000000##FFFFFF
##42114D1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#16294C
Tritanopia (blue-blind)
#421C2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42114d;
/* rgb */ color: rgb(66, 17, 77);
/* oklch */ color: oklch(29.0% 0.112 319.6);
Tailwind
colors: {
  custom: {
    50: '#79547f',
    500: '#42114d',
    950: '#000000',
  },
}
SCSS
$custom: #42114d;
$custom-light: #79547f;
$custom-dark: #000000;
JSON
{
  "hex": "#42114d",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 289,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29011,
    "c": 0.11174,
    "h": 319.6
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#42114D
secondary
#438633
accent
#E7415F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42114D

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

Preview Lab → · Contrast checker → · Palette generator →

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