#310F3D#310F3D

#310F3D is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.089 H 316.0°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#310F3D
RGBrgb(49, 15, 61)
HSLhsl(284, 61%, 15%)
HSVhsv(284, 75%, 24%)
CMYKcmyk(19.7%, 75.4%, 0%, 76.1%)
CIE-LABlab(11.49, 25.68, -22.00)
CIE-LCHlch(11.49, 33.82, 319.41°)
OKLaboklab(24.82% 0.0641 -0.0618)
OKLCHoklch(24.82% 0.089 316)
XYZxyz(2.2796, 1.3316, 4.5509)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F3D #1B3D0F
analogous
#1A0F3D #310F3D #3D0F32
triadic
#310F3D #3D310F #0F3D31
tetradic
#310F3D #3D1A0F #1B3D0F #0F323D
square
#310F3D #3D1A0F #1B3D0F #0F323D
split-complementary
#310F3D #323D0F #0F3D1A
monochromatic
#140619 #140619 #310F3D #581B6E #80279F

Accessibility & contrast

On white

16.58
#310F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#310F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310F3D
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F3D#FFFFFF#000000##FFFFFF
##310F3D1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#0F1F3C
Tritanopia (blue-blind)
#301824
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #310f3d;
/* rgb */ color: rgb(49, 15, 61);
/* oklch */ color: oklch(24.8% 0.089 316.0);
Tailwind
colors: {
  custom: {
    50: '#6b5073',
    500: '#310f3d',
    950: '#000000',
  },
}
SCSS
$custom: #310f3d;
$custom-light: #6b5073;
$custom-dark: #000000;
JSON
{
  "hex": "#310f3d",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 284.348,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24818,
    "c": 0.08898,
    "h": 316
  },
  "luminance": 0.01332
}

Semantic roles & 50–950 ramp

primary
#310F3D
secondary
#437730
accent
#E4446E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #310F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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