#42134C#42134C

#42134C is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.108 H 320.1°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#42134C
RGBrgb(66, 19, 76)
HSLhsl(289, 60%, 19%)
HSVhsv(289, 75%, 30%)
CMYKcmyk(13.2%, 75%, 0%, 70.2%)
CIE-LABlab(16.24, 31.78, -24.74)
CIE-LCHlch(16.24, 40.27, 322.11°)
OKLaboklab(29.17% 0.0827 -0.0692)
OKLCHoklch(29.17% 0.108 320.1)
XYZxyz(3.7840, 2.1460, 7.0510)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42134C #1D4C13
analogous
#25134C #42134C #4C1339
triadic
#42134C #4C4213 #134C42
tetradic
#42134C #4C2513 #1D4C13 #13394C
square
#42134C #4C2513 #1D4C13 #13394C
split-complementary
#42134C #394C13 #134C25
monochromatic
#150618 #17071B #42134C #6D1F7D #972BAE

Accessibility & contrast

On white

14.69
#42134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42134C
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42134C#FFFFFF#000000##FFFFFF
##42134C1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254E
Deuteranopia (green-blind)
#182A4B
Tritanopia (blue-blind)
#421D2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42134c;
/* rgb */ color: rgb(66, 19, 76);
/* oklch */ color: oklch(29.2% 0.108 320.1);
Tailwind
colors: {
  custom: {
    50: '#79557e',
    500: '#42134c',
    950: '#000000',
  },
}
SCSS
$custom: #42134c;
$custom-light: #79557e;
$custom-dark: #000000;
JSON
{
  "hex": "#42134c",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 289.474,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29172,
    "c": 0.10785,
    "h": 320.1
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#42134C
secondary
#448536
accent
#E34560
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42134C

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

Preview Lab → · Contrast checker → · Palette generator →

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