#301131#301131

#301131 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.1% C 0.071 H 326.3°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#301131
RGBrgb(48, 17, 49)
HSLhsl(298, 48%, 13%)
HSVhsv(298, 65%, 19%)
CMYKcmyk(2%, 65.3%, 0%, 80.8%)
CIE-LABlab(10.93, 21.36, -14.26)
CIE-LCHlch(10.93, 25.68, 326.26°)
OKLaboklab(24.11% 0.0589 -0.0393)
OKLCHoklch(24.11% 0.071 326.3)
XYZxyz(1.9737, 1.2511, 3.0427)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301131 #123111
analogous
#201131 #301131 #311122
triadic
#301131 #313011 #113130
tetradic
#301131 #312011 #123111 #112231
square
#301131 #312011 #123111 #112231
split-complementary
#301131 #223111 #113120
monochromatic
#160817 #160817 #301131 #5D215E #89318C

Accessibility & contrast

On white

16.80
#301131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#301131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301131
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301131#FFFFFF#000000##FFFFFF
##3011311.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1B32
Deuteranopia (green-blind)
#171F30
Tritanopia (blue-blind)
#31151F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #301131;
/* rgb */ color: rgb(48, 17, 49);
/* oklch */ color: oklch(24.1% 0.071 326.3);
Tailwind
colors: {
  custom: {
    50: '#695169',
    500: '#301131',
    950: '#000000',
  },
}
SCSS
$custom: #301131;
$custom-light: #695169;
$custom-dark: #000000;
JSON
{
  "hex": "#301131",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 298.125,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2411,
    "c": 0.07083,
    "h": 326.3
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#301131
secondary
#366A34
accent
#D85054
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #301131

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

Preview Lab → · Contrast checker → · Palette generator →

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