#42134F#42134F

#42134F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.4% C 0.111 H 318.1°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#42134F
RGBrgb(66, 19, 79)
HSLhsl(287, 61%, 19%)
HSVhsv(287, 76%, 31%)
CMYKcmyk(16.5%, 75.9%, 0%, 69%)
CIE-LABlab(16.45, 32.46, -26.45)
CIE-LCHlch(16.45, 41.87, 320.82°)
OKLaboklab(29.39% 0.0826 -0.0742)
OKLCHoklch(29.39% 0.111 318.1)
XYZxyz(3.8907, 2.1887, 7.6131)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42134F #204F13
analogous
#24134F #42134F #4F133E
triadic
#42134F #4F4213 #134F42
tetradic
#42134F #4F2413 #204F13 #133E4F
square
#42134F #4F2413 #204F13 #133E4F
split-complementary
#42134F #3E4F13 #134F24
monochromatic
#150619 #19071E #42134F #6B1F80 #942BB2

Accessibility & contrast

On white

14.61
#42134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42134F
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42134F#FFFFFF#000000##FFFFFF
##42134F1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42134f;
/* rgb */ color: rgb(66, 19, 79);
/* oklch */ color: oklch(29.4% 0.111 318.1);
Tailwind
colors: {
  custom: {
    50: '#795581',
    500: '#42134f',
    950: '#000000',
  },
}
SCSS
$custom: #42134f;
$custom-light: #795581;
$custom-dark: #000000;
JSON
{
  "hex": "#42134f",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 287,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29392,
    "c": 0.111,
    "h": 318.1
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#42134F
secondary
#488836
accent
#E44366
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42134F

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

Preview Lab → · Contrast checker → · Palette generator →

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