#311134#311134

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

Color values

HEX#311134
RGBrgb(49, 17, 52)
HSLhsl(295, 51%, 14%)
HSVhsv(295, 67%, 20%)
CMYKcmyk(5.8%, 67.3%, 0%, 79.6%)
CIE-LABlab(11.29, 22.38, -15.87)
CIE-LCHlch(11.29, 27.44, 324.67°)
OKLaboklab(24.47% 0.0608 -0.0439)
OKLCHoklch(24.47% 0.075 324.1)
XYZxyz(2.0868, 1.3019, 3.3895)
Luminance0.0130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311134 #143411
analogous
#1F1134 #311134 #341125
triadic
#311134 #343111 #113431
tetradic
#311134 #341F11 #143411 #112534
square
#311134 #341F11 #143411 #112534
split-complementary
#311134 #253411 #11341F
monochromatic
#160817 #160817 #311134 #5C2062 #882F90

Accessibility & contrast

On white

16.66
#311134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #311134
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311134#FFFFFF#000000##FFFFFF
##3111341.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1C35
Deuteranopia (green-blind)
#161F33
Tritanopia (blue-blind)
#321620
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #311134;
/* rgb */ color: rgb(49, 17, 52);
/* oklch */ color: oklch(24.5% 0.075 324.1);
Tailwind
colors: {
  custom: {
    50: '#6a516b',
    500: '#311134',
    950: '#000000',
  },
}
SCSS
$custom: #311134;
$custom-light: #6a516b;
$custom-dark: #000000;
JSON
{
  "hex": "#311134",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 52
  },
  "hsl": {
    "h": 294.857,
    "s": 50.725,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24469,
    "c": 0.07497,
    "h": 324.1
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#311134
secondary
#396D34
accent
#DA4E5A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #311134

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

Preview Lab → · Contrast checker → · Palette generator →

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