#331036#331036

#331036 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.080 H 324.5°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#331036
RGBrgb(51, 16, 54)
HSLhsl(295, 54%, 14%)
HSVhsv(295, 70%, 21%)
CMYKcmyk(5.6%, 70.4%, 0%, 78.8%)
CIE-LABlab(11.56, 24.06, -16.86)
CIE-LCHlch(11.56, 29.38, 324.97°)
OKLaboklab(24.78% 0.0654 -0.0467)
OKLCHoklch(24.78% 0.08 324.5)
XYZxyz(2.2163, 1.3409, 3.6314)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331036 #133610
analogous
#201036 #331036 #361026
triadic
#331036 #363310 #103633
tetradic
#331036 #362010 #133610 #102636
square
#331036 #362010 #133610 #102636
split-complementary
#331036 #263610 #103620
monochromatic
#160718 #160718 #331036 #601E65 #8C2C94

Accessibility & contrast

On white

16.56
#331036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#331036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331036
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331036#FFFFFF#000000##FFFFFF
##3310361.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C37
Deuteranopia (green-blind)
#162035
Tritanopia (blue-blind)
#341521
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #331036;
/* rgb */ color: rgb(51, 16, 54);
/* oklch */ color: oklch(24.8% 0.080 324.5);
Tailwind
colors: {
  custom: {
    50: '#6c516d',
    500: '#331036',
    950: '#000000',
  },
}
SCSS
$custom: #331036;
$custom-light: #6c516d;
$custom-dark: #000000;
JSON
{
  "hex": "#331036",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 295.263,
    "s": 54.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24779,
    "c": 0.08039,
    "h": 324.5
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#331036
secondary
#377032
accent
#DE4A56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #331036

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

Preview Lab → · Contrast checker → · Palette generator →

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