#331636#331636

#331636 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.069 H 323.7°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#331636
RGBrgb(51, 22, 54)
HSLhsl(294, 42%, 15%)
HSVhsv(294, 59%, 21%)
CMYKcmyk(5.6%, 59.3%, 0%, 78.8%)
CIE-LABlab(12.89, 20.49, -14.77)
CIE-LCHlch(12.89, 25.26, 324.20°)
OKLaboklab(25.75% 0.0556 -0.0407)
OKLCHoklch(25.75% 0.069 323.7)
XYZxyz(2.3179, 1.5441, 3.6653)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331636 #193616
analogous
#231636 #331636 #361629
triadic
#331636 #363316 #163633
tetradic
#331636 #362316 #193616 #162936
square
#331636 #362316 #193616 #162936
split-complementary
#331636 #293616 #163623
monochromatic
#150916 #150916 #331636 #5C2861 #85398D

Accessibility & contrast

On white

16.05
#331636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#331636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331636
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331636#FFFFFF#000000##FFFFFF
##3316361.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F37
Deuteranopia (green-blind)
#1B2335
Tritanopia (blue-blind)
#341A23
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331636;
/* rgb */ color: rgb(51, 22, 54);
/* oklch */ color: oklch(25.8% 0.069 323.7);
Tailwind
colors: {
  custom: {
    50: '#6c546d',
    500: '#331636',
    950: '#000000',
  },
}
SCSS
$custom: #331636;
$custom-light: #6c546d;
$custom-dark: #000000;
JSON
{
  "hex": "#331636",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 54
  },
  "hsl": {
    "h": 294.375,
    "s": 42.105,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25753,
    "c": 0.06889,
    "h": 323.7
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#331636
secondary
#406D3B
accent
#D25662
background
#F6F4F6
surface
#EBE8EB
border
#C6C4C6
text
#070307
muted
#7A787A

Preview Lab

Preview with #331636

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

Preview Lab → · Contrast checker → · Palette generator →

#331636 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva