#42134A#42134A

#42134A is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.106 H 321.5°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#42134A
RGBrgb(66, 19, 74)
HSLhsl(291, 59%, 18%)
HSVhsv(291, 74%, 29%)
CMYKcmyk(10.8%, 74.3%, 0%, 71%)
CIE-LABlab(16.10, 31.34, -23.58)
CIE-LCHlch(16.10, 39.22, 323.04°)
OKLaboklab(29.03% 0.0828 -0.0658)
OKLCHoklch(29.03% 0.106 321.5)
XYZxyz(3.7155, 2.1186, 6.6905)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42134A #1B4A13
analogous
#26134A #42134A #4A1336
triadic
#42134A #4A4213 #134A42
tetradic
#42134A #4A2613 #1B4A13 #13364A
square
#42134A #4A2613 #1B4A13 #13364A
split-complementary
#42134A #364A13 #134A26
monochromatic
#160618 #170619 #42134A #6D207B #992CAB

Accessibility & contrast

On white

14.75
#42134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#42134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42134A
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42134A#FFFFFF#000000##FFFFFF
##42134A1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254C
Deuteranopia (green-blind)
#192A49
Tritanopia (blue-blind)
#431C2C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42134a;
/* rgb */ color: rgb(66, 19, 74);
/* oklch */ color: oklch(29.0% 0.106 321.5);
Tailwind
colors: {
  custom: {
    50: '#79557d',
    500: '#42134a',
    950: '#000000',
  },
}
SCSS
$custom: #42134a;
$custom-light: #79557d;
$custom-dark: #000000;
JSON
{
  "hex": "#42134a",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 291.273,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29028,
    "c": 0.10576,
    "h": 321.5
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#42134A
secondary
#418336
accent
#E2455C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #42134A

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

Preview Lab → · Contrast checker → · Palette generator →

#42134A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva