#311137#311137

#311137 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.078 H 321.1°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#311137
RGBrgb(49, 17, 55)
HSLhsl(291, 53%, 14%)
HSVhsv(291, 69%, 22%)
CMYKcmyk(10.9%, 69.1%, 0%, 78.4%)
CIE-LABlab(11.48, 23.09, -17.73)
CIE-LCHlch(11.48, 29.11, 322.49°)
OKLaboklab(24.67% 0.061 -0.0493)
OKLCHoklch(24.67% 0.078 321.1)
XYZxyz(2.1566, 1.3298, 3.7568)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311137 #173711
analogous
#1E1137 #311137 #37112A
triadic
#311137 #373111 #113731
tetradic
#311137 #371E11 #173711 #112A37
square
#311137 #371E11 #173711 #112A37
split-complementary
#311137 #2A3711 #11371E
monochromatic
#150717 #150717 #311137 #5B1F66 #842E95

Accessibility & contrast

On white

16.59
#311137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #311137
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311137#FFFFFF#000000##FFFFFF
##3111371.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C38
Deuteranopia (green-blind)
#152036
Tritanopia (blue-blind)
#311722
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #311137;
/* rgb */ color: rgb(49, 17, 55);
/* oklch */ color: oklch(24.7% 0.078 321.1);
Tailwind
colors: {
  custom: {
    50: '#6a516e',
    500: '#311137',
    950: '#000000',
  },
}
SCSS
$custom: #311137;
$custom-light: #6a516e;
$custom-dark: #000000;
JSON
{
  "hex": "#311137",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 55
  },
  "hsl": {
    "h": 290.526,
    "s": 52.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24673,
    "c": 0.07845,
    "h": 321.1
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#311137
secondary
#3D7034
accent
#DC4C62
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #311137

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

Preview Lab → · Contrast checker → · Palette generator →

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