#310930#310930

#310930 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.084 H 328.9°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#310930
RGBrgb(49, 9, 48)
HSLhsl(302, 69%, 11%)
HSVhsv(302, 82%, 19%)
CMYKcmyk(0%, 81.6%, 2%, 80.8%)
CIE-LABlab(9.50, 25.75, -15.77)
CIE-LCHlch(9.50, 30.19, 328.51°)
OKLaboklab(23.09% 0.0723 -0.0436)
OKLCHoklch(23.09% 0.084 328.9)
XYZxyz(1.8978, 1.0619, 2.9007)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310930 #09310A
analogous
#1E0931 #310930 #31091C
triadic
#310930 #303109 #093031
tetradic
#310930 #311E09 #09310A #091C31
square
#310930 #311E09 #09310A #091C31
split-complementary
#310930 #1C3109 #09311E
monochromatic
#1A0519 #1A0519 #310930 #651263 #981C95

Accessibility & contrast

On white

17.32
#310930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310930
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310930#FFFFFF#000000##FFFFFF
##3109301.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051731
Deuteranopia (green-blind)
#141C2F
Tritanopia (blue-blind)
#330E1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310930;
/* rgb */ color: rgb(49, 9, 48);
/* oklch */ color: oklch(23.1% 0.084 328.9);
Tailwind
colors: {
  custom: {
    50: '#6b4c68',
    500: '#310930',
    950: '#000000',
  },
}
SCSS
$custom: #310930;
$custom-light: #6b4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#310930",
  "rgb": {
    "r": 49,
    "g": 9,
    "b": 48
  },
  "hsl": {
    "h": 301.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23085,
    "c": 0.08443,
    "h": 328.9
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#310930
secondary
#276F29
accent
#EC403C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #310930

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

Preview Lab → · Contrast checker → · Palette generator →

#310930 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva