#31092C#31092C

#31092C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.081 H 333.3°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#31092C
RGBrgb(49, 9, 44)
HSLhsl(308, 69%, 11%)
HSVhsv(308, 82%, 19%)
CMYKcmyk(0%, 81.6%, 10.2%, 80.8%)
CIE-LABlab(9.24, 24.94, -13.21)
CIE-LCHlch(9.24, 28.23, 332.08°)
OKLaboklab(22.82% 0.072 -0.0362)
OKLCHoklch(22.82% 0.081 333.3)
XYZxyz(1.8189, 1.0303, 2.4855)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31092C #09310E
analogous
#220931 #31092C #310918
triadic
#31092C #2C3109 #092C31
tetradic
#31092C #312209 #09310E #091831
square
#31092C #312209 #09310E #091831
split-complementary
#31092C #183109 #093122
monochromatic
#1A0517 #1A0517 #31092C #65125A #981C89

Accessibility & contrast

On white

17.41
#31092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31092C
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31092C#FFFFFF#000000##FFFFFF
##31092C1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162D
Deuteranopia (green-blind)
#161C2B
Tritanopia (blue-blind)
#340D19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #31092c;
/* rgb */ color: rgb(49, 9, 44);
/* oklch */ color: oklch(22.8% 0.081 333.3);
Tailwind
colors: {
  custom: {
    50: '#6b4c65',
    500: '#31092c',
    950: '#000000',
  },
}
SCSS
$custom: #31092c;
$custom-light: #6b4c65;
$custom-dark: #000000;
JSON
{
  "hex": "#31092c",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 307.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22818,
    "c": 0.08059,
    "h": 333.3
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#31092C
secondary
#276F30
accent
#EC523C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #31092C

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

Preview Lab → · Contrast checker → · Palette generator →

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