#311136#311136

#311136 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.077 H 322.1°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#311136
RGBrgb(49, 17, 54)
HSLhsl(292, 52%, 14%)
HSVhsv(292, 69%, 21%)
CMYKcmyk(9.3%, 68.5%, 0%, 78.8%)
CIE-LABlab(11.42, 22.86, -17.11)
CIE-LCHlch(11.42, 28.55, 323.18°)
OKLaboklab(24.6% 0.061 -0.0475)
OKLCHoklch(24.6% 0.077 322.1)
XYZxyz(2.1329, 1.3203, 3.6318)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311136 #163611
analogous
#1F1136 #311136 #361129
triadic
#311136 #363111 #113631
tetradic
#311136 #361F11 #163611 #112936
square
#311136 #361F11 #163611 #112936
split-complementary
#311136 #293611 #11361F
monochromatic
#150717 #150717 #311136 #5B2065 #852E93

Accessibility & contrast

On white

16.61
#311136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#311136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311136
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311136#FFFFFF#000000##FFFFFF
##3111361.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C37
Deuteranopia (green-blind)
#152035
Tritanopia (blue-blind)
#321621
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #311136;
/* rgb */ color: rgb(49, 17, 54);
/* oklch */ color: oklch(24.6% 0.077 322.1);
Tailwind
colors: {
  custom: {
    50: '#6a516d',
    500: '#311136',
    950: '#000000',
  },
}
SCSS
$custom: #311136;
$custom-light: #6a516d;
$custom-dark: #000000;
JSON
{
  "hex": "#311136",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 291.892,
    "s": 52.113,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24604,
    "c": 0.07728,
    "h": 322.1
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#311136
secondary
#3C6F34
accent
#DC4C60
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #311136

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

Preview Lab → · Contrast checker → · Palette generator →

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