#31092E#31092E

#31092E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.083 H 331.1°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#31092E
RGBrgb(49, 9, 46)
HSLhsl(305, 69%, 11%)
HSVhsv(305, 82%, 19%)
CMYKcmyk(0%, 81.6%, 6.1%, 80.8%)
CIE-LABlab(9.37, 25.34, -14.50)
CIE-LCHlch(9.37, 29.19, 330.22°)
OKLaboklab(22.95% 0.0722 -0.0399)
OKLCHoklch(22.95% 0.083 331.1)
XYZxyz(1.8574, 1.0457, 2.6883)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31092E #09310C
analogous
#200931 #31092E #31091A
triadic
#31092E #2E3109 #092E31
tetradic
#31092E #312009 #09310C #091A31
square
#31092E #312009 #09310C #091A31
split-complementary
#31092E #1A3109 #093120
monochromatic
#1A0518 #1A0518 #31092E #65125F #981C8F

Accessibility & contrast

On white

17.37
#31092E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#31092E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31092E
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31092E#FFFFFF#000000##FFFFFF
##31092E1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06172F
Deuteranopia (green-blind)
#151C2D
Tritanopia (blue-blind)
#330D1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #31092e;
/* rgb */ color: rgb(49, 9, 46);
/* oklch */ color: oklch(22.9% 0.083 331.1);
Tailwind
colors: {
  custom: {
    50: '#6b4c67',
    500: '#31092e',
    950: '#000000',
  },
}
SCSS
$custom: #31092e;
$custom-light: #6b4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#31092e",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 46
  },
  "hsl": {
    "h": 304.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22949,
    "c": 0.0825,
    "h": 331.1
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#31092E
secondary
#276F2C
accent
#EC493C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #31092E

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

Preview Lab → · Contrast checker → · Palette generator →

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