#301A32#301A32

#301A32 is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.8% C 0.053 H 324.0°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#301A32
RGBrgb(48, 26, 50)
HSLhsl(295, 32%, 15%)
HSVhsv(295, 48%, 20%)
CMYKcmyk(4%, 48%, 0%, 80.4%)
CIE-LABlab(13.21, 15.79, -11.42)
CIE-LCHlch(13.21, 19.49, 324.11°)
OKLaboklab(25.83% 0.043 -0.0313)
OKLCHoklch(25.83% 0.053 324)
XYZxyz(2.1640, 1.5975, 3.2114)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A32 #1C321A
analogous
#241A32 #301A32 #321A28
triadic
#301A32 #32301A #1A3230
tetradic
#301A32 #32241A #1C321A #1A2832
square
#301A32 #32241A #1C321A #1A2832
split-complementary
#301A32 #28321A #1A3224
monochromatic
#130A14 #130A14 #301A32 #572F5A #7D4483

Accessibility & contrast

On white

15.92
#301A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#301A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A32
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A32#FFFFFF#000000##FFFFFF
##301A321.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172033
Deuteranopia (green-blind)
#1D2331
Tritanopia (blue-blind)
#311D23
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301a32;
/* rgb */ color: rgb(48, 26, 50);
/* oklch */ color: oklch(25.8% 0.053 324.0);
Tailwind
colors: {
  custom: {
    50: '#69576a',
    500: '#301a32',
    950: '#000000',
  },
}
SCSS
$custom: #301a32;
$custom-light: #69576a;
$custom-dark: #000000;
JSON
{
  "hex": "#301a32",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 50
  },
  "hsl": {
    "h": 295,
    "s": 31.579,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25825,
    "c": 0.05315,
    "h": 324
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#301A32
secondary
#446641
accent
#C86069
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #301A32

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

Preview Lab → · Contrast checker → · Palette generator →

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