#301A2E#301A2E

#301A2E is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.6% C 0.048 H 330.2°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#301A2E
RGBrgb(48, 26, 46)
HSLhsl(305, 30%, 15%)
HSVhsv(305, 46%, 19%)
CMYKcmyk(0%, 45.8%, 4.2%, 81.2%)
CIE-LABlab(13.01, 14.83, -8.85)
CIE-LCHlch(13.01, 17.27, 329.19°)
OKLaboklab(25.61% 0.0418 -0.024)
OKLCHoklch(25.61% 0.048 330.2)
XYZxyz(2.0814, 1.5645, 2.7766)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A2E #1A301C
analogous
#271A30 #301A2E #301A23
triadic
#301A2E #2E301A #1A2E30
tetradic
#301A2E #30271A #1A301C #1A2330
square
#301A2E #30271A #1A301C #1A2330
split-complementary
#301A2E #23301A #1A3027
monochromatic
#140B13 #140B13 #301A2E #583054 #7F457A

Accessibility & contrast

On white

16.00
#301A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#301A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A2E
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A2E#FFFFFF#000000##FFFFFF
##301A2E1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19202F
Deuteranopia (green-blind)
#1F232D
Tritanopia (blue-blind)
#321C21
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301a2e;
/* rgb */ color: rgb(48, 26, 46);
/* oklch */ color: oklch(25.6% 0.048 330.2);
Tailwind
colors: {
  custom: {
    50: '#695766',
    500: '#301a2e',
    950: '#000000',
  },
}
SCSS
$custom: #301a2e;
$custom-light: #695766;
$custom-dark: #000000;
JSON
{
  "hex": "#301a2e",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 305.455,
    "s": 29.73,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25606,
    "c": 0.04817,
    "h": 330.2
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#301A2E
secondary
#426445
accent
#C66B62
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #301A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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