#31093F#31093F

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

Color values

HEX#31093F
RGBrgb(49, 9, 63)
HSLhsl(284, 75%, 14%)
HSVhsv(284, 86%, 25%)
CMYKcmyk(22.2%, 85.7%, 0%, 75.3%)
CIE-LABlab(10.61, 29.10, -24.85)
CIE-LCHlch(10.61, 38.27, 319.51°)
OKLaboklab(24.24% 0.0713 -0.0701)
OKLCHoklch(24.24% 0.1 315.5)
XYZxyz(2.2614, 1.2073, 4.8156)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31093F #173F09
analogous
#16093F #31093F #3F0932
triadic
#31093F #3F3109 #093F31
tetradic
#31093F #3F1609 #173F09 #09323F
square
#31093F #3F1609 #173F09 #09323F
split-complementary
#31093F #323F09 #093F16
monochromatic
#15041B #15041B #31093F #5B1175 #8418AA

Accessibility & contrast

On white

16.92
#31093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31093F
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31093F#FFFFFF#000000##FFFFFF
##31093F1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#081E3E
Tritanopia (blue-blind)
#301523
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #31093f;
/* rgb */ color: rgb(49, 9, 63);
/* oklch */ color: oklch(24.2% 0.100 315.5);
Tailwind
colors: {
  custom: {
    50: '#6c4d74',
    500: '#31093f',
    950: '#000000',
  },
}
SCSS
$custom: #31093f;
$custom-light: #6c4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#31093f",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 284.444,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24237,
    "c": 0.09997,
    "h": 315.5
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#31093F
secondary
#3D7D27
accent
#F23667
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #31093F

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

Preview Lab → · Contrast checker → · Palette generator →

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