#33162F#33162F

#33162F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.3% C 0.061 H 332.6°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#33162F
RGBrgb(51, 22, 47)
HSLhsl(308, 40%, 14%)
HSVhsv(308, 57%, 20%)
CMYKcmyk(0%, 56.9%, 7.8%, 80%)
CIE-LABlab(12.50, 18.90, -10.32)
CIE-LCHlch(12.50, 21.53, 331.36°)
OKLaboklab(25.34% 0.054 -0.028)
OKLCHoklch(25.34% 0.061 332.6)
XYZxyz(2.1652, 1.4830, 2.8610)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33162F #16331A
analogous
#291633 #33162F #331621
triadic
#33162F #2F3316 #162F33
tetradic
#33162F #332916 #16331A #162133
square
#33162F #332916 #16331A #162133
split-complementary
#33162F #213316 #163329
monochromatic
#150914 #150914 #33162F #5E2856 #893B7E

Accessibility & contrast

On white

16.20
#33162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#33162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33162F
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33162F#FFFFFF#000000##FFFFFF
##33162F1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151E30
Deuteranopia (green-blind)
#1D222E
Tritanopia (blue-blind)
#351820
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #33162f;
/* rgb */ color: rgb(51, 22, 47);
/* oklch */ color: oklch(25.3% 0.061 332.6);
Tailwind
colors: {
  custom: {
    50: '#6c5467',
    500: '#33162f',
    950: '#000000',
  },
}
SCSS
$custom: #33162f;
$custom-light: #6c5467;
$custom-dark: #000000;
JSON
{
  "hex": "#33162f",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 308.276,
    "s": 39.726,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2534,
    "c": 0.06084,
    "h": 332.6
  },
  "luminance": 0.01483
}

Semantic roles & 50–950 ramp

primary
#33162F
secondary
#3B6942
accent
#D06958
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #33162F

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

Preview Lab → · Contrast checker → · Palette generator →

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