#31093A#31093A

#31093A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.095 H 319.5°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#31093A
RGBrgb(49, 9, 58)
HSLhsl(289, 73%, 13%)
HSVhsv(289, 84%, 23%)
CMYKcmyk(15.5%, 84.5%, 0%, 77.3%)
CIE-LABlab(10.21, 27.93, -21.91)
CIE-LCHlch(10.21, 35.50, 321.89°)
OKLaboklab(23.83% 0.072 -0.0614)
OKLCHoklch(23.83% 0.095 319.5)
XYZxyz(2.1279, 1.1539, 4.1128)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31093A #123A09
analogous
#18093A #31093A #3A092A
triadic
#31093A #3A3109 #093A31
tetradic
#31093A #3A1809 #123A09 #092A3A
square
#31093A #3A1809 #123A09 #092A3A
split-complementary
#31093A #2A3A09 #093A18
monochromatic
#16041A #16041A #31093A #5E116F #8B19A4

Accessibility & contrast

On white

17.06
#31093A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31093A
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31093A#FFFFFF#000000##FFFFFF
##31093A1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31093a;
/* rgb */ color: rgb(49, 9, 58);
/* oklch */ color: oklch(23.8% 0.095 319.5);
Tailwind
colors: {
  custom: {
    50: '#6b4d70',
    500: '#31093a',
    950: '#000000',
  },
}
SCSS
$custom: #31093a;
$custom-light: #6b4d70;
$custom-dark: #000000;
JSON
{
  "hex": "#31093a",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 58
  },
  "hsl": {
    "h": 288.98,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23828,
    "c": 0.09467,
    "h": 319.5
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#31093A
secondary
#367827
accent
#F0385A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #31093A

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

Preview Lab → · Contrast checker → · Palette generator →

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