#42133E#42133E

#42133E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.2% C 0.094 H 331.3°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#42133E
RGBrgb(66, 19, 62)
HSLhsl(305, 55%, 17%)
HSVhsv(305, 71%, 26%)
CMYKcmyk(0%, 71.2%, 6.1%, 74.1%)
CIE-LABlab(15.34, 28.84, -16.42)
CIE-LCHlch(15.34, 33.19, 330.33°)
OKLaboklab(28.24% 0.0822 -0.0451)
OKLCHoklch(28.24% 0.094 331.3)
XYZxyz(3.3491, 1.9720, 4.7607)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42133E #134217
analogous
#2F1342 #42133E #421327
triadic
#42133E #3E4213 #133E42
tetradic
#42133E #422F13 #134217 #132742
square
#42133E #422F13 #134217 #132742
split-complementary
#42133E #274213 #13422F
monochromatic
#180716 #180716 #42133E #72216B #A12E97

Accessibility & contrast

On white

15.06
#42133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#42133E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42133E
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42133E#FFFFFF#000000##FFFFFF
##42133E1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10223F
Deuteranopia (green-blind)
#20293D
Tritanopia (blue-blind)
#451826
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42133e;
/* rgb */ color: rgb(66, 19, 62);
/* oklch */ color: oklch(28.2% 0.094 331.3);
Tailwind
colors: {
  custom: {
    50: '#785573',
    500: '#42133e',
    950: '#000000',
  },
}
SCSS
$custom: #42133e;
$custom-light: #785573;
$custom-dark: #000000;
JSON
{
  "hex": "#42133e",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 305.106,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28235,
    "c": 0.09374,
    "h": 331.3
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#42133E
secondary
#367B3C
accent
#DF5649
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42133E

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

Preview Lab → · Contrast checker → · Palette generator →

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