#31142E#31142E

#31142E is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.6% C 0.062 H 331.3°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#31142E
RGBrgb(49, 20, 46)
HSLhsl(306, 42%, 14%)
HSVhsv(306, 59%, 19%)
CMYKcmyk(0%, 59.2%, 6.1%, 80.8%)
CIE-LABlab(11.63, 19.19, -10.97)
CIE-LCHlch(11.63, 22.11, 330.24°)
OKLaboklab(24.6% 0.0545 -0.0299)
OKLCHoklch(24.6% 0.062 331.3)
XYZxyz(2.0099, 1.3507, 2.7391)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31142E #143117
analogous
#251431 #31142E #31141F
triadic
#31142E #2E3114 #142E31
tetradic
#31142E #312514 #143117 #141F31
square
#31142E #312514 #143117 #141F31
split-complementary
#31142E #1F3114 #143125
monochromatic
#160914 #160914 #31142E #5C2657 #883780

Accessibility & contrast

On white

16.53
#31142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#31142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31142E
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31142E#FFFFFF#000000##FFFFFF
##31142E1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#1B202D
Tritanopia (blue-blind)
#33161E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #31142e;
/* rgb */ color: rgb(49, 20, 46);
/* oklch */ color: oklch(24.6% 0.062 331.3);
Tailwind
colors: {
  custom: {
    50: '#6a5366',
    500: '#31142e',
    950: '#000000',
  },
}
SCSS
$custom: #31142e;
$custom-light: #6a5366;
$custom-dark: #000000;
JSON
{
  "hex": "#31142e",
  "rgb": {
    "r": 49,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 306.207,
    "s": 42.029,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24603,
    "c": 0.06218,
    "h": 331.3
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#31142E
secondary
#39683E
accent
#D26356
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #31142E

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

Preview Lab → · Contrast checker → · Palette generator →

#31142E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva