#31093E#31093E

#31093E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.099 H 316.3°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#31093E
RGBrgb(49, 9, 62)
HSLhsl(285, 75%, 14%)
HSVhsv(285, 85%, 24%)
CMYKcmyk(21%, 85.5%, 0%, 75.7%)
CIE-LABlab(10.53, 28.87, -24.27)
CIE-LCHlch(10.53, 37.71, 319.95°)
OKLaboklab(24.15% 0.0715 -0.0684)
OKLCHoklch(24.15% 0.099 316.3)
XYZxyz(2.2337, 1.1962, 4.6697)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31093E #163E09
analogous
#17093E #31093E #3E0931
triadic
#31093E #3E3109 #093E31
tetradic
#31093E #3E1709 #163E09 #09313E
square
#31093E #3E1709 #163E09 #09313E
split-complementary
#31093E #313E09 #093E17
monochromatic
#15041B #15041B #31093E #5B1173 #8519A9

Accessibility & contrast

On white

16.95
#31093E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#31093E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31093E
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31093E#FFFFFF#000000##FFFFFF
##31093E1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#091E3D
Tritanopia (blue-blind)
#301523
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #31093e;
/* rgb */ color: rgb(49, 9, 62);
/* oklch */ color: oklch(24.2% 0.099 316.3);
Tailwind
colors: {
  custom: {
    50: '#6c4d74',
    500: '#31093e',
    950: '#000000',
  },
}
SCSS
$custom: #31093e;
$custom-light: #6c4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#31093e",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 62
  },
  "hsl": {
    "h": 285.283,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24153,
    "c": 0.09891,
    "h": 316.3
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#31093E
secondary
#3C7C27
accent
#F13764
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #31093E

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

Preview Lab → · Contrast checker → · Palette generator →

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