#42144F#42144F

#42144F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.110 H 317.9°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#42144F
RGBrgb(66, 20, 79)
HSLhsl(287, 60%, 19%)
HSVhsv(287, 75%, 31%)
CMYKcmyk(16.5%, 74.7%, 0%, 69%)
CIE-LABlab(16.62, 31.98, -26.18)
CIE-LCHlch(16.62, 41.33, 320.70°)
OKLaboklab(29.51% 0.0813 -0.0734)
OKLCHoklch(29.51% 0.11 317.9)
XYZxyz(3.9080, 2.2232, 7.6189)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42144F #214F14
analogous
#25144F #42144F #4F143F
triadic
#42144F #4F4214 #144F42
tetradic
#42144F #4F2514 #214F14 #143F4F
square
#42144F #4F2514 #214F14 #143F4F
split-complementary
#42144F #3F4F14 #144F25
monochromatic
#140618 #19081E #42144F #6B2080 #942DB1

Accessibility & contrast

On white

14.54
#42144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#42144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42144F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42144F#FFFFFF#000000##FFFFFF
##42144F1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#162B4E
Tritanopia (blue-blind)
#421F2F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #42144f;
/* rgb */ color: rgb(66, 20, 79);
/* oklch */ color: oklch(29.5% 0.110 317.9);
Tailwind
colors: {
  custom: {
    50: '#795681',
    500: '#42144f',
    950: '#000000',
  },
}
SCSS
$custom: #42144f;
$custom-light: #795681;
$custom-dark: #000000;
JSON
{
  "hex": "#42144f",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 286.78,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29514,
    "c": 0.10955,
    "h": 317.9
  },
  "luminance": 0.02223
}

Semantic roles & 50–950 ramp

primary
#42144F
secondary
#498738
accent
#E34568
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42144F

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

Preview Lab → · Contrast checker → · Palette generator →

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