#31083A#31083A

#31083A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.096 H 319.7°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#31083A
RGBrgb(49, 8, 58)
HSLhsl(289, 76%, 13%)
HSVhsv(289, 86%, 23%)
CMYKcmyk(15.5%, 86.2%, 0%, 77.3%)
CIE-LABlab(10.05, 28.41, -22.18)
CIE-LCHlch(10.05, 36.04, 322.02°)
OKLaboklab(23.71% 0.0733 -0.0622)
OKLCHoklch(23.71% 0.096 319.7)
XYZxyz(2.1171, 1.1322, 4.1092)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31083A #113A08
analogous
#18083A #31083A #3A082A
triadic
#31083A #3A3108 #083A31
tetradic
#31083A #3A1808 #113A08 #082A3A
square
#31083A #3A1808 #113A08 #082A3A
split-complementary
#31083A #2A3A08 #083A18
monochromatic
#17041B #17041B #31083A #5E0F70 #8C17A6

Accessibility & contrast

On white

17.12
#31083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31083A
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31083A#FFFFFF#000000##FFFFFF
##31083A1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31083a;
/* rgb */ color: rgb(49, 8, 58);
/* oklch */ color: oklch(23.7% 0.096 319.7);
Tailwind
colors: {
  custom: {
    50: '#6b4c70',
    500: '#31083a',
    950: '#000000',
  },
}
SCSS
$custom: #31083a;
$custom-light: #6b4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#31083a",
  "rgb": {
    "r": 49,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 289.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2371,
    "c": 0.09612,
    "h": 319.7
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#31083A
secondary
#347925
accent
#F23557
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #31083A

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

Preview Lab → · Contrast checker → · Palette generator →

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