#310E2C#310E2C

#310E2C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.072 H 333.6°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#310E2C
RGBrgb(49, 14, 44)
HSLhsl(309, 56%, 12%)
HSVhsv(309, 71%, 19%)
CMYKcmyk(0%, 71.4%, 10.2%, 80.8%)
CIE-LABlab(10.18, 22.35, -11.75)
CIE-LCHlch(10.18, 25.26, 332.26°)
OKLaboklab(23.5% 0.0645 -0.032)
OKLCHoklch(23.5% 0.072 333.6)
XYZxyz(1.8783, 1.1490, 2.5052)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E2C #0E3113
analogous
#240E31 #310E2C #310E1B
triadic
#310E2C #2C310E #0E2C31
tetradic
#310E2C #31240E #0E3113 #0E1B31
square
#310E2C #31240E #0E3113 #0E1B31
split-complementary
#310E2C #1B310E #0E3124
monochromatic
#180715 #180715 #310E2C #611C57 #902981

Accessibility & contrast

On white

17.08
#310E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#310E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E2C
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E2C#FFFFFF#000000##FFFFFF
##310E2C1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192D
Deuteranopia (green-blind)
#181E2B
Tritanopia (blue-blind)
#34111B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #310e2c;
/* rgb */ color: rgb(49, 14, 44);
/* oklch */ color: oklch(23.5% 0.072 333.6);
Tailwind
colors: {
  custom: {
    50: '#6b4f65',
    500: '#310e2c',
    950: '#000000',
  },
}
SCSS
$custom: #310e2c;
$custom-light: #6b4f65;
$custom-dark: #000000;
JSON
{
  "hex": "#310e2c",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 44
  },
  "hsl": {
    "h": 308.571,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23498,
    "c": 0.07199,
    "h": 333.6
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#310E2C
secondary
#2F6C38
accent
#DF5E49
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070205
muted
#7A787A

Preview Lab

Preview with #310E2C

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

Preview Lab → · Contrast checker → · Palette generator →

#310E2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva