#42144B#42144B

#42144B is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.2% C 0.105 H 320.7°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#42144B
RGBrgb(66, 20, 75)
HSLhsl(290, 58%, 19%)
HSVhsv(290, 73%, 29%)
CMYKcmyk(12%, 73.3%, 0%, 70.6%)
CIE-LABlab(16.34, 31.08, -23.88)
CIE-LCHlch(16.34, 39.19, 322.46°)
OKLaboklab(29.22% 0.0815 -0.0667)
OKLCHoklch(29.22% 0.105 320.7)
XYZxyz(3.7668, 2.1668, 6.8751)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42144B #1D4B14
analogous
#26144B #42144B #4B1438
triadic
#42144B #4B4214 #144B42
tetradic
#42144B #4B2614 #1D4B14 #14384B
square
#42144B #4B2614 #1D4B14 #14384B
split-complementary
#42144B #384B14 #144B26
monochromatic
#150618 #17071B #42144B #6D217B #972EAC

Accessibility & contrast

On white

14.65
#42144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#42144B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42144B
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42144B#FFFFFF#000000##FFFFFF
##42144B1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254D
Deuteranopia (green-blind)
#192A4A
Tritanopia (blue-blind)
#421D2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42144b;
/* rgb */ color: rgb(66, 20, 75);
/* oklch */ color: oklch(29.2% 0.105 320.7);
Tailwind
colors: {
  custom: {
    50: '#79567d',
    500: '#42144b',
    950: '#000000',
  },
}
SCSS
$custom: #42144b;
$custom-light: #79567d;
$custom-dark: #000000;
JSON
{
  "hex": "#42144b",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 290.182,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29224,
    "c": 0.1053,
    "h": 320.7
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#42144B
secondary
#448338
accent
#E14760
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42144B

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

Preview Lab → · Contrast checker → · Palette generator →

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