#42134E#42134E

#42134E is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.3% C 0.110 H 318.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#42134E
RGBrgb(66, 19, 78)
HSLhsl(288, 61%, 19%)
HSVhsv(288, 76%, 31%)
CMYKcmyk(15.4%, 75.6%, 0%, 69.4%)
CIE-LABlab(16.38, 32.23, -25.88)
CIE-LCHlch(16.38, 41.34, 321.24°)
OKLaboklab(29.32% 0.0826 -0.0725)
OKLCHoklch(29.32% 0.11 318.7)
XYZxyz(3.8546, 2.1742, 7.4229)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42134E #1F4E13
analogous
#25134E #42134E #4E133D
triadic
#42134E #4E4213 #134E42
tetradic
#42134E #4E2513 #1F4E13 #133D4E
square
#42134E #4E2513 #1F4E13 #133D4E
split-complementary
#42134E #3D4E13 #134E25
monochromatic
#150619 #18071D #42134E #6C1F7F #952BB0

Accessibility & contrast

On white

14.64
#42134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42134E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42134E#FFFFFF#000000##FFFFFF
##42134E1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42134e;
/* rgb */ color: rgb(66, 19, 78);
/* oklch */ color: oklch(29.3% 0.110 318.7);
Tailwind
colors: {
  custom: {
    50: '#795580',
    500: '#42134e',
    950: '#000000',
  },
}
SCSS
$custom: #42134e;
$custom-light: #795580;
$custom-dark: #000000;
JSON
{
  "hex": "#42134e",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 287.797,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29318,
    "c": 0.10995,
    "h": 318.7
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#42134E
secondary
#478736
accent
#E44464
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42134E

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

Preview Lab → · Contrast checker → · Palette generator →

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