#31092F#31092F

#31092F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.083 H 330.0°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#31092F
RGBrgb(49, 9, 47)
HSLhsl(303, 69%, 11%)
HSVhsv(303, 82%, 19%)
CMYKcmyk(0%, 81.6%, 4.1%, 80.8%)
CIE-LABlab(9.43, 25.54, -15.14)
CIE-LCHlch(9.43, 29.69, 329.34°)
OKLaboklab(23.02% 0.0723 -0.0417)
OKLCHoklch(23.02% 0.083 330)
XYZxyz(1.8774, 1.0537, 2.7933)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31092F #09310B
analogous
#1F0931 #31092F #31091B
triadic
#31092F #2F3109 #092F31
tetradic
#31092F #311F09 #09310B #091B31
square
#31092F #311F09 #09310B #091B31
split-complementary
#31092F #1B3109 #09311F
monochromatic
#1A0519 #1A0519 #31092F #651261 #981C92

Accessibility & contrast

On white

17.34
#31092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31092F
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31092F#FFFFFF#000000##FFFFFF
##31092F1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#330E1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #31092f;
/* rgb */ color: rgb(49, 9, 47);
/* oklch */ color: oklch(23.0% 0.083 330.0);
Tailwind
colors: {
  custom: {
    50: '#6b4c67',
    500: '#31092f',
    950: '#000000',
  },
}
SCSS
$custom: #31092f;
$custom-light: #6b4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#31092f",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 303,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23016,
    "c": 0.08346,
    "h": 330
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#31092F
secondary
#276F2A
accent
#EC453C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #31092F

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

Preview Lab → · Contrast checker → · Palette generator →

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