#301E2F#301E2F

#301E2F is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.5% C 0.040 H 328.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#301E2F
RGBrgb(48, 30, 47)
HSLhsl(303, 23%, 15%)
HSVhsv(303, 38%, 19%)
CMYKcmyk(0%, 37.5%, 2.1%, 81.2%)
CIE-LABlab(14.19, 12.30, -7.77)
CIE-LCHlch(14.19, 14.55, 327.71°)
OKLaboklab(26.51% 0.0343 -0.021)
OKLCHoklch(26.51% 0.04 328.5)
XYZxyz(2.1962, 1.7622, 2.9132)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301E2F #1E301F
analogous
#281E30 #301E2F #301E26
triadic
#301E2F #2F301E #1E2F30
tetradic
#301E2F #30281E #1E301F #1E2630
square
#301E2F #30281E #1E301F #1E2630
split-complementary
#301E2F #26301E #1E3028
monochromatic
#130C12 #130C12 #301E2F #563654 #7B4D79

Accessibility & contrast

On white

15.53
#301E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#301E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301E2F
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301E2F#FFFFFF#000000##FFFFFF
##301E2F1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2330
Deuteranopia (green-blind)
#21252E
Tritanopia (blue-blind)
#311F24
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #301e2f;
/* rgb */ color: rgb(48, 30, 47);
/* oklch */ color: oklch(26.5% 0.040 328.5);
Tailwind
colors: {
  custom: {
    50: '#685a67',
    500: '#301e2f',
    950: '#000000',
  },
}
SCSS
$custom: #301e2f;
$custom-light: #685a67;
$custom-dark: #000000;
JSON
{
  "hex": "#301e2f",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 303.333,
    "s": 23.077,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2651,
    "c": 0.04024,
    "h": 328.5
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#301E2F
secondary
#476349
accent
#C06D68
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #301E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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