#42144E#42144E

#42144E is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.4% C 0.108 H 318.6°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#42144E
RGBrgb(66, 20, 78)
HSLhsl(288, 59%, 19%)
HSVhsv(288, 74%, 31%)
CMYKcmyk(15.4%, 74.4%, 0%, 69.4%)
CIE-LABlab(16.55, 31.75, -25.61)
CIE-LCHlch(16.55, 40.79, 321.11°)
OKLaboklab(29.44% 0.0814 -0.0717)
OKLCHoklch(29.44% 0.108 318.6)
XYZxyz(3.8719, 2.2088, 7.4286)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42144E #204E14
analogous
#25144E #42144E #4E143D
triadic
#42144E #4E4214 #144E42
tetradic
#42144E #4E2514 #204E14 #143D4E
square
#42144E #4E2514 #204E14 #143D4E
split-complementary
#42144E #3D4E14 #144E25
monochromatic
#150618 #19081D #42144E #6B207F #942DAF

Accessibility & contrast

On white

14.57
#42144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42144E
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42144E#FFFFFF#000000##FFFFFF
##42144E1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#172A4D
Tritanopia (blue-blind)
#421F2F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #42144e;
/* rgb */ color: rgb(66, 20, 78);
/* oklch */ color: oklch(29.4% 0.108 318.6);
Tailwind
colors: {
  custom: {
    50: '#795680',
    500: '#42144e',
    950: '#000000',
  },
}
SCSS
$custom: #42144e;
$custom-light: #795680;
$custom-dark: #000000;
JSON
{
  "hex": "#42144e",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 287.586,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2944,
    "c": 0.10849,
    "h": 318.6
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#42144E
secondary
#488638
accent
#E24566
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42144E

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

Preview Lab → · Contrast checker → · Palette generator →

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