#331135#331135

#331135 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.9% C 0.077 H 325.4°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#331135
RGBrgb(51, 17, 53)
HSLhsl(297, 51%, 14%)
HSVhsv(297, 68%, 21%)
CMYKcmyk(3.8%, 67.9%, 0%, 79.2%)
CIE-LABlab(11.70, 23.27, -15.91)
CIE-LCHlch(11.70, 28.19, 325.63°)
OKLaboklab(24.86% 0.0638 -0.044)
OKLCHoklch(24.86% 0.077 325.4)
XYZxyz(2.2082, 1.3619, 3.5140)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331135 #133511
analogous
#211135 #331135 #351125
triadic
#331135 #353311 #113533
tetradic
#331135 #352111 #133511 #112535
square
#331135 #352111 #133511 #112535
split-complementary
#331135 #253511 #113521
monochromatic
#160717 #160717 #331135 #602063 #8C2F92

Accessibility & contrast

On white

16.50
#331135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331135
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331135#FFFFFF#000000##FFFFFF
##3311351.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1C36
Deuteranopia (green-blind)
#182034
Tritanopia (blue-blind)
#341621
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #331135;
/* rgb */ color: rgb(51, 17, 53);
/* oklch */ color: oklch(24.9% 0.077 325.4);
Tailwind
colors: {
  custom: {
    50: '#6c516c',
    500: '#331135',
    950: '#000000',
  },
}
SCSS
$custom: #331135;
$custom-light: #6c516c;
$custom-dark: #000000;
JSON
{
  "hex": "#331135",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 296.667,
    "s": 51.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24863,
    "c": 0.07745,
    "h": 325.4
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#331135
secondary
#376E34
accent
#DB4D55
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #331135

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

Preview Lab → · Contrast checker → · Palette generator →

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