#42114F#42114F

#42114F is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.114 H 318.3°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#42114F
RGBrgb(66, 17, 79)
HSLhsl(287, 65%, 19%)
HSVhsv(287, 78%, 31%)
CMYKcmyk(16.5%, 78.5%, 0%, 69%)
CIE-LABlab(16.12, 33.37, -26.97)
CIE-LCHlch(16.12, 42.91, 321.06°)
OKLaboklab(29.16% 0.085 -0.0757)
OKLCHoklch(29.16% 0.114 318.3)
XYZxyz(3.8583, 2.1238, 7.6023)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42114F #1E4F11
analogous
#23114F #42114F #4F113D
triadic
#42114F #4F4211 #114F42
tetradic
#42114F #4F2311 #1E4F11 #113D4F
square
#42114F #4F2311 #1E4F11 #113D4F
split-complementary
#42114F #3D4F11 #114F23
monochromatic
#150519 #18061D #42114F #6C1C81 #9627B4

Accessibility & contrast

On white

14.74
#42114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42114F
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42114F#FFFFFF#000000##FFFFFF
##42114F1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#142A4E
Tritanopia (blue-blind)
#421D2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42114f;
/* rgb */ color: rgb(66, 17, 79);
/* oklch */ color: oklch(29.2% 0.114 318.3);
Tailwind
colors: {
  custom: {
    50: '#795481',
    500: '#42114f',
    950: '#000000',
  },
}
SCSS
$custom: #42114f;
$custom-light: #795481;
$custom-dark: #000000;
JSON
{
  "hex": "#42114f",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 287.419,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29161,
    "c": 0.11379,
    "h": 318.3
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#42114F
secondary
#458833
accent
#E84063
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42114F

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

Preview Lab → · Contrast checker → · Palette generator →

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