#301D2F#301D2F

#301D2F is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.3% C 0.043 H 328.5°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#301D2F
RGBrgb(48, 29, 47)
HSLhsl(303, 25%, 15%)
HSVhsv(303, 40%, 19%)
CMYKcmyk(0%, 39.6%, 2.1%, 81.2%)
CIE-LABlab(13.90, 13.00, -8.21)
CIE-LCHlch(13.90, 15.37, 327.72°)
OKLaboklab(26.29% 0.0363 -0.0222)
OKLCHoklch(26.29% 0.043 328.5)
XYZxyz(2.1713, 1.7124, 2.9049)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301D2F #1D301E
analogous
#271D30 #301D2F #301D25
triadic
#301D2F #2F301D #1D2F30
tetradic
#301D2F #30271D #1D301E #1D2530
square
#301D2F #30271D #1D301E #1D2530
split-complementary
#301D2F #25301D #1D3027
monochromatic
#130C13 #130C13 #301D2F #563454 #7C4B7A

Accessibility & contrast

On white

15.64
#301D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#301D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301D2F
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301D2F#FFFFFF#000000##FFFFFF
##301D2F1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2230
Deuteranopia (green-blind)
#21242E
Tritanopia (blue-blind)
#311E24
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301d2f;
/* rgb */ color: rgb(48, 29, 47);
/* oklch */ color: oklch(26.3% 0.043 328.5);
Tailwind
colors: {
  custom: {
    50: '#685967',
    500: '#301d2f',
    950: '#000000',
  },
}
SCSS
$custom: #301d2f;
$custom-light: #685967;
$custom-dark: #000000;
JSON
{
  "hex": "#301d2f",
  "rgb": {
    "r": 48,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 303.158,
    "s": 24.675,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26292,
    "c": 0.04254,
    "h": 328.5
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#301D2F
secondary
#466347
accent
#C16B67
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #301D2F

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

Preview Lab → · Contrast checker → · Palette generator →

#301D2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva