#42144D#42144D

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

Color values

HEX#42144D
RGBrgb(66, 20, 77)
HSLhsl(288, 59%, 19%)
HSVhsv(288, 74%, 30%)
CMYKcmyk(14.3%, 74%, 0%, 69.8%)
CIE-LABlab(16.48, 31.52, -25.04)
CIE-LCHlch(16.48, 40.26, 321.54°)
OKLaboklab(29.37% 0.0814 -0.0701)
OKLCHoklch(29.37% 0.107 319.3)
XYZxyz(3.8363, 2.1946, 7.2413)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42144D #1F4D14
analogous
#26144D #42144D #4D143C
triadic
#42144D #4D4214 #144D42
tetradic
#42144D #4D2614 #1F4D14 #143C4D
square
#42144D #4D2614 #1F4D14 #143C4D
split-complementary
#42144D #3C4D14 #144D26
monochromatic
#150618 #18071C #42144D #6C217E #952DAE

Accessibility & contrast

On white

14.60
#42144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42144D
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42144D#FFFFFF#000000##FFFFFF
##42144D1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02264F
Deuteranopia (green-blind)
#182A4C
Tritanopia (blue-blind)
#421E2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #42144d;
/* rgb */ color: rgb(66, 20, 77);
/* oklch */ color: oklch(29.4% 0.107 319.3);
Tailwind
colors: {
  custom: {
    50: '#79567f',
    500: '#42144d',
    950: '#000000',
  },
}
SCSS
$custom: #42144d;
$custom-light: #79567f;
$custom-dark: #000000;
JSON
{
  "hex": "#42144d",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 288.421,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29367,
    "c": 0.10741,
    "h": 319.3
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#42144D
secondary
#478538
accent
#E24664
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42144D

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

Preview Lab → · Contrast checker → · Palette generator →

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