#42134D#42134D

#42134D is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.2% C 0.109 H 319.4°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#42134D
RGBrgb(66, 19, 77)
HSLhsl(289, 60%, 19%)
HSVhsv(289, 75%, 30%)
CMYKcmyk(14.3%, 75.3%, 0%, 69.8%)
CIE-LABlab(16.31, 32.01, -25.31)
CIE-LCHlch(16.31, 40.80, 321.66°)
OKLaboklab(29.24% 0.0827 -0.0709)
OKLCHoklch(29.24% 0.109 319.4)
XYZxyz(3.8190, 2.1600, 7.2355)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42134D #1E4D13
analogous
#25134D #42134D #4D133B
triadic
#42134D #4D4213 #134D42
tetradic
#42134D #4D2513 #1E4D13 #133B4D
square
#42134D #4D2513 #1E4D13 #133B4D
split-complementary
#42134D #3B4D13 #134D25
monochromatic
#150619 #18071C #42134D #6C1F7E #962BAF

Accessibility & contrast

On white

14.66
#42134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#42134D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42134D
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42134D#FFFFFF#000000##FFFFFF
##42134D1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#172A4C
Tritanopia (blue-blind)
#421E2E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42134d;
/* rgb */ color: rgb(66, 19, 77);
/* oklch */ color: oklch(29.2% 0.109 319.4);
Tailwind
colors: {
  custom: {
    50: '#79557f',
    500: '#42134d',
    950: '#000000',
  },
}
SCSS
$custom: #42134d;
$custom-light: #79557f;
$custom-dark: #000000;
JSON
{
  "hex": "#42134d",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 288.621,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29244,
    "c": 0.1089,
    "h": 319.4
  },
  "luminance": 0.0216
}

Semantic roles & 50–950 ramp

primary
#42134D
secondary
#458636
accent
#E44462
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42134D

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

Preview Lab → · Contrast checker → · Palette generator →

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