#42133F#42133F

#42133F is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.3% C 0.095 H 330.4°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#42133F
RGBrgb(66, 19, 63)
HSLhsl(304, 55%, 17%)
HSVhsv(304, 71%, 26%)
CMYKcmyk(0%, 71.2%, 4.5%, 74.1%)
CIE-LABlab(15.40, 29.03, -17.04)
CIE-LCHlch(15.40, 33.66, 329.60°)
OKLaboklab(28.3% 0.0823 -0.0468)
OKLCHoklch(28.3% 0.095 330.4)
XYZxyz(3.3768, 1.9831, 4.9066)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42133F #134216
analogous
#2E1342 #42133F #421328
triadic
#42133F #3F4213 #133F42
tetradic
#42133F #422E13 #134216 #132842
square
#42133F #422E13 #134216 #132842
split-complementary
#42133F #284213 #13422E
monochromatic
#180717 #180717 #42133F #72216C #A12E9A

Accessibility & contrast

On white

15.04
#42133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#42133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42133F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42133F#FFFFFF#000000##FFFFFF
##42133F1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2240
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#451827
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42133f;
/* rgb */ color: rgb(66, 19, 63);
/* oklch */ color: oklch(28.3% 0.095 330.4);
Tailwind
colors: {
  custom: {
    50: '#785574',
    500: '#42133f',
    950: '#000000',
  },
}
SCSS
$custom: #42133f;
$custom-light: #785574;
$custom-dark: #000000;
JSON
{
  "hex": "#42133f",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 303.83,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28297,
    "c": 0.0947,
    "h": 330.4
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#42133F
secondary
#367B3B
accent
#DF5349
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #42133F

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

Preview Lab → · Contrast checker → · Palette generator →

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