#331635#331635

#331635 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.068 H 324.9°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#331635
RGBrgb(51, 22, 53)
HSLhsl(296, 41%, 15%)
HSVhsv(296, 58%, 21%)
CMYKcmyk(3.8%, 58.5%, 0%, 79.2%)
CIE-LABlab(12.83, 20.25, -14.15)
CIE-LCHlch(12.83, 24.70, 325.07°)
OKLaboklab(25.69% 0.0554 -0.0389)
OKLCHoklch(25.69% 0.068 324.9)
XYZxyz(2.2947, 1.5348, 3.5428)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331635 #183516
analogous
#241635 #331635 #351628
triadic
#331635 #353316 #163533
tetradic
#331635 #352416 #183516 #162835
square
#331635 #352416 #183516 #162835
split-complementary
#331635 #283516 #163524
monochromatic
#150916 #150916 #331635 #5D2860 #863A8B

Accessibility & contrast

On white

16.07
#331635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331635
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331635#FFFFFF#000000##FFFFFF
##3316351.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331635;
/* rgb */ color: rgb(51, 22, 53);
/* oklch */ color: oklch(25.7% 0.068 324.9);
Tailwind
colors: {
  custom: {
    50: '#6c546c',
    500: '#331635',
    950: '#000000',
  },
}
SCSS
$custom: #331635;
$custom-light: #6c546c;
$custom-dark: #000000;
JSON
{
  "hex": "#331635",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 53
  },
  "hsl": {
    "h": 296.129,
    "s": 41.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25691,
    "c": 0.06769,
    "h": 324.9
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#331635
secondary
#3E6C3B
accent
#D1575F
background
#F6F4F6
surface
#EBE8EB
border
#C6C4C6
text
#070307
muted
#7A787A

Preview Lab

Preview with #331635

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

Preview Lab → · Contrast checker → · Palette generator →

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