#31093B#31093B

#31093B is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.096 H 318.7°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#31093B
RGBrgb(49, 9, 59)
HSLhsl(288, 74%, 13%)
HSVhsv(288, 85%, 23%)
CMYKcmyk(16.9%, 84.7%, 0%, 76.9%)
CIE-LABlab(10.29, 28.16, -22.50)
CIE-LCHlch(10.29, 36.05, 321.37°)
OKLaboklab(23.91% 0.0719 -0.0632)
OKLCHoklch(23.91% 0.096 318.7)
XYZxyz(2.1536, 1.1642, 4.2481)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31093B #133B09
analogous
#18093B #31093B #3B092C
triadic
#31093B #3B3109 #093B31
tetradic
#31093B #3B1809 #133B09 #092C3B
square
#31093B #3B1809 #133B09 #092C3B
split-complementary
#31093B #2C3B09 #093B18
monochromatic
#16041B #16041B #31093B #5D1170 #8919A5

Accessibility & contrast

On white

17.03
#31093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#31093B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31093B
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31093B#FFFFFF#000000##FFFFFF
##31093B1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#0C1D3A
Tritanopia (blue-blind)
#311321
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #31093b;
/* rgb */ color: rgb(49, 9, 59);
/* oklch */ color: oklch(23.9% 0.096 318.7);
Tailwind
colors: {
  custom: {
    50: '#6b4d71',
    500: '#31093b',
    950: '#000000',
  },
}
SCSS
$custom: #31093b;
$custom-light: #6b4d71;
$custom-dark: #000000;
JSON
{
  "hex": "#31093b",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 288,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23908,
    "c": 0.09573,
    "h": 318.7
  },
  "luminance": 0.01164
}

Semantic roles & 50–950 ramp

primary
#31093B
secondary
#377927
accent
#F0385D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #31093B

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

Preview Lab → · Contrast checker → · Palette generator →

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