#33152F#33152F

#33152F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.063 H 332.5°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#33152F
RGBrgb(51, 21, 47)
HSLhsl(308, 42%, 14%)
HSVhsv(308, 59%, 20%)
CMYKcmyk(0%, 58.8%, 7.8%, 80%)
CIE-LABlab(12.26, 19.53, -10.70)
CIE-LCHlch(12.26, 22.27, 331.29°)
OKLaboklab(25.16% 0.0558 -0.0291)
OKLCHoklch(25.16% 0.063 332.5)
XYZxyz(2.1465, 1.4455, 2.8547)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33152F #153319
analogous
#281533 #33152F #331520
triadic
#33152F #2F3315 #152F33
tetradic
#33152F #332815 #153319 #152033
square
#33152F #332815 #153319 #152033
split-complementary
#33152F #203315 #153328
monochromatic
#160914 #160914 #33152F #5E2757 #8A397F

Accessibility & contrast

On white

16.29
#33152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#33152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33152F
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33152F#FFFFFF#000000##FFFFFF
##33152F1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D30
Deuteranopia (green-blind)
#1D222E
Tritanopia (blue-blind)
#35171F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #33152f;
/* rgb */ color: rgb(51, 21, 47);
/* oklch */ color: oklch(25.2% 0.063 332.5);
Tailwind
colors: {
  custom: {
    50: '#6c5467',
    500: '#33152f',
    950: '#000000',
  },
}
SCSS
$custom: #33152f;
$custom-light: #6c5467;
$custom-dark: #000000;
JSON
{
  "hex": "#33152f",
  "rgb": {
    "r": 51,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 308,
    "s": 41.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2516,
    "c": 0.06295,
    "h": 332.5
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#33152F
secondary
#3A6A40
accent
#D16756
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #33152F

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

Preview Lab → · Contrast checker → · Palette generator →

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