#311135#311135

#311135 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.076 H 323.1°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#311135
RGBrgb(49, 17, 53)
HSLhsl(293, 51%, 14%)
HSVhsv(293, 68%, 21%)
CMYKcmyk(7.5%, 67.9%, 0%, 79.2%)
CIE-LABlab(11.35, 22.62, -16.49)
CIE-LCHlch(11.35, 27.99, 323.91°)
OKLaboklab(24.54% 0.0609 -0.0457)
OKLCHoklch(24.54% 0.076 323.1)
XYZxyz(2.1096, 1.3110, 3.5094)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311135 #153511
analogous
#1F1135 #311135 #351127
triadic
#311135 #353111 #113531
tetradic
#311135 #351F11 #153511 #112735
square
#311135 #351F11 #153511 #112735
split-complementary
#311135 #273511 #11351F
monochromatic
#150717 #150717 #311135 #5C2063 #872F92

Accessibility & contrast

On white

16.64
#311135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #311135
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311135#FFFFFF#000000##FFFFFF
##3111351.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1C36
Deuteranopia (green-blind)
#161F34
Tritanopia (blue-blind)
#321621
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #311135;
/* rgb */ color: rgb(49, 17, 53);
/* oklch */ color: oklch(24.5% 0.076 323.1);
Tailwind
colors: {
  custom: {
    50: '#6a516c',
    500: '#311135',
    950: '#000000',
  },
}
SCSS
$custom: #311135;
$custom-light: #6a516c;
$custom-dark: #000000;
JSON
{
  "hex": "#311135",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 293.333,
    "s": 51.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24536,
    "c": 0.07612,
    "h": 323.1
  },
  "luminance": 0.01311
}

Semantic roles & 50–950 ramp

primary
#311135
secondary
#3A6E34
accent
#DB4D5D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #311135

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

Preview Lab → · Contrast checker → · Palette generator →

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