#31093D#31093D

#31093D is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.098 H 317.1°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#31093D
RGBrgb(49, 9, 61)
HSLhsl(286, 74%, 14%)
HSVhsv(286, 85%, 24%)
CMYKcmyk(19.7%, 85.2%, 0%, 76.1%)
CIE-LABlab(10.45, 28.63, -23.68)
CIE-LCHlch(10.45, 37.15, 320.40°)
OKLaboklab(24.07% 0.0716 -0.0666)
OKLCHoklch(24.07% 0.098 317.1)
XYZxyz(2.2065, 1.1854, 4.5265)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31093D #153D09
analogous
#17093D #31093D #3D092F
triadic
#31093D #3D3109 #093D31
tetradic
#31093D #3D1709 #153D09 #092F3D
square
#31093D #3D1709 #153D09 #092F3D
split-complementary
#31093D #2F3D09 #093D17
monochromatic
#15041B #15041B #31093D #5C1172 #8719A8

Accessibility & contrast

On white

16.98
#31093D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31093D
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31093D#FFFFFF#000000##FFFFFF
##31093D1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#0A1E3C
Tritanopia (blue-blind)
#301422
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #31093d;
/* rgb */ color: rgb(49, 9, 61);
/* oklch */ color: oklch(24.1% 0.098 317.1);
Tailwind
colors: {
  custom: {
    50: '#6b4d73',
    500: '#31093d',
    950: '#000000',
  },
}
SCSS
$custom: #31093d;
$custom-light: #6b4d73;
$custom-dark: #000000;
JSON
{
  "hex": "#31093d",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 61
  },
  "hsl": {
    "h": 286.154,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24071,
    "c": 0.09784,
    "h": 317.1
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#31093D
secondary
#3A7B27
accent
#F13762
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #31093D

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

Preview Lab → · Contrast checker → · Palette generator →

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