#31092B#31092B

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

Color values

HEX#31092B
RGBrgb(49, 9, 43)
HSLhsl(309, 69%, 11%)
HSVhsv(309, 82%, 19%)
CMYKcmyk(0%, 81.6%, 12.2%, 80.8%)
CIE-LABlab(9.18, 24.75, -12.57)
CIE-LCHlch(9.18, 27.75, 333.08°)
OKLaboklab(22.75% 0.0719 -0.0343)
OKLCHoklch(22.75% 0.08 334.5)
XYZxyz(1.8004, 1.0229, 2.3877)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31092B #09310F
analogous
#230931 #31092B #310917
triadic
#31092B #2B3109 #092B31
tetradic
#31092B #312309 #09310F #091731
square
#31092B #312309 #09310F #091731
split-complementary
#31092B #173109 #093123
monochromatic
#1A0517 #1A0517 #31092B #651258 #981C86

Accessibility & contrast

On white

17.43
#31092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#31092B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31092B
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31092B#FFFFFF#000000##FFFFFF
##31092B1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162C
Deuteranopia (green-blind)
#161C2A
Tritanopia (blue-blind)
#340C18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #31092b;
/* rgb */ color: rgb(49, 9, 43);
/* oklch */ color: oklch(22.8% 0.080 334.5);
Tailwind
colors: {
  custom: {
    50: '#6b4c64',
    500: '#31092b',
    950: '#000000',
  },
}
SCSS
$custom: #31092b;
$custom-light: #6b4c64;
$custom-dark: #000000;
JSON
{
  "hex": "#31092b",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 309,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22754,
    "c": 0.07966,
    "h": 334.5
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#31092B
secondary
#276F32
accent
#EC563C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #31092B

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

Preview Lab → · Contrast checker → · Palette generator →

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