#31093C#31093C

#31093C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.097 H 317.9°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#31093C
RGBrgb(49, 9, 60)
HSLhsl(287, 74%, 14%)
HSVhsv(287, 85%, 24%)
CMYKcmyk(18.3%, 85%, 0%, 76.5%)
CIE-LABlab(10.37, 28.40, -23.09)
CIE-LCHlch(10.37, 36.60, 320.88°)
OKLaboklab(23.99% 0.0718 -0.0649)
OKLCHoklch(23.99% 0.097 317.9)
XYZxyz(2.1798, 1.1747, 4.3860)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31093C #143C09
analogous
#17093C #31093C #3C092D
triadic
#31093C #3C3109 #093C31
tetradic
#31093C #3C1709 #143C09 #092D3C
square
#31093C #3C1709 #143C09 #092D3C
split-complementary
#31093C #2D3C09 #093C17
monochromatic
#16041B #16041B #31093C #5C1171 #8819A6

Accessibility & contrast

On white

17.00
#31093C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31093C
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31093C#FFFFFF#000000##FFFFFF
##31093C1.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#0B1D3B
Tritanopia (blue-blind)
#311422
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #31093c;
/* rgb */ color: rgb(49, 9, 60);
/* oklch */ color: oklch(24.0% 0.097 317.9);
Tailwind
colors: {
  custom: {
    50: '#6b4d72',
    500: '#31093c',
    950: '#000000',
  },
}
SCSS
$custom: #31093c;
$custom-light: #6b4d72;
$custom-dark: #000000;
JSON
{
  "hex": "#31093c",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 60
  },
  "hsl": {
    "h": 287.059,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23989,
    "c": 0.09678,
    "h": 317.9
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#31093C
secondary
#397A27
accent
#F1375F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #31093C

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

Preview Lab → · Contrast checker → · Palette generator →

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