#42134B#42134B

#42134B is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.1% C 0.107 H 320.8°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#42134B
RGBrgb(66, 19, 75)
HSLhsl(290, 60%, 18%)
HSVhsv(290, 75%, 29%)
CMYKcmyk(12%, 74.7%, 0%, 70.6%)
CIE-LABlab(16.17, 31.56, -24.16)
CIE-LCHlch(16.17, 39.75, 322.57°)
OKLaboklab(29.1% 0.0828 -0.0675)
OKLCHoklch(29.1% 0.107 320.8)
XYZxyz(3.7495, 2.1322, 6.8693)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42134B #1C4B13
analogous
#26134B #42134B #4B1338
triadic
#42134B #4B4213 #134B42
tetradic
#42134B #4B2613 #1C4B13 #13384B
square
#42134B #4B2613 #1C4B13 #13384B
split-complementary
#42134B #384B13 #134B26
monochromatic
#150618 #17071A #42134B #6D1F7C #982CAD

Accessibility & contrast

On white

14.72
#42134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42134B
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42134B#FFFFFF#000000##FFFFFF
##42134B1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254D
Deuteranopia (green-blind)
#192A4A
Tritanopia (blue-blind)
#431D2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #42134b;
/* rgb */ color: rgb(66, 19, 75);
/* oklch */ color: oklch(29.1% 0.107 320.8);
Tailwind
colors: {
  custom: {
    50: '#79557d',
    500: '#42134b',
    950: '#000000',
  },
}
SCSS
$custom: #42134b;
$custom-light: #79557d;
$custom-dark: #000000;
JSON
{
  "hex": "#42134b",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 290.357,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.291,
    "c": 0.1068,
    "h": 320.8
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#42134B
secondary
#438436
accent
#E3455E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #42134B

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

Preview Lab → · Contrast checker → · Palette generator →

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