#301F2E#301F2E

#301F2E is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.7% C 0.037 H 330.7°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#301F2E
RGBrgb(48, 31, 46)
HSLhsl(307, 22%, 15%)
HSVhsv(307, 35%, 19%)
CMYKcmyk(0%, 35.4%, 4.2%, 81.2%)
CIE-LABlab(14.43, 11.36, -6.68)
CIE-LCHlch(14.43, 13.18, 329.55°)
OKLaboklab(26.68% 0.032 -0.018)
OKLCHoklch(26.68% 0.037 330.7)
XYZxyz(2.2020, 1.8057, 2.8168)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301F2E #1F3021
analogous
#291F30 #301F2E #301F25
triadic
#301F2E #2E301F #1F2E30
tetradic
#301F2E #30291F #1F3021 #1F2530
square
#301F2E #30291F #1F3021 #1F2530
split-complementary
#301F2E #25301F #1F3029
monochromatic
#130C12 #130C12 #301F2E #553752 #7A4F75

Accessibility & contrast

On white

15.43
#301F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#301F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301F2E
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301F2E#FFFFFF#000000##FFFFFF
##301F2E1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#23252D
Tritanopia (blue-blind)
#312024
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #301f2e;
/* rgb */ color: rgb(48, 31, 46);
/* oklch */ color: oklch(26.7% 0.037 330.7);
Tailwind
colors: {
  custom: {
    50: '#685a66',
    500: '#301f2e',
    950: '#000000',
  },
}
SCSS
$custom: #301f2e;
$custom-light: #685a66;
$custom-dark: #000000;
JSON
{
  "hex": "#301f2e",
  "rgb": {
    "r": 48,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 307.059,
    "s": 21.519,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26682,
    "c": 0.03668,
    "h": 330.7
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#301F2E
secondary
#49624C
accent
#BE746A
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #301F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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