#301C32#301C32

#301C32 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.2% C 0.049 H 323.6°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#301C32
RGBrgb(48, 28, 50)
HSLhsl(295, 28%, 15%)
HSVhsv(295, 44%, 20%)
CMYKcmyk(4%, 44%, 0%, 80.4%)
CIE-LABlab(13.76, 14.41, -10.57)
CIE-LCHlch(13.76, 17.87, 323.74°)
OKLaboklab(26.24% 0.0392 -0.0289)
OKLCHoklch(26.24% 0.049 323.6)
XYZxyz(2.2098, 1.6893, 3.2266)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C32 #1E321C
analogous
#251C32 #301C32 #321C29
triadic
#301C32 #32301C #1C3230
tetradic
#301C32 #32251C #1E321C #1C2932
square
#301C32 #32251C #1E321C #1C2932
split-complementary
#301C32 #29321C #1C3225
monochromatic
#130B14 #130B14 #301C32 #563259 #7B4880

Accessibility & contrast

On white

15.70
#301C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301C32
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C32#FFFFFF#000000##FFFFFF
##301C321.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2233
Deuteranopia (green-blind)
#1F2431
Tritanopia (blue-blind)
#311E24
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301c32;
/* rgb */ color: rgb(48, 28, 50);
/* oklch */ color: oklch(26.2% 0.049 323.6);
Tailwind
colors: {
  custom: {
    50: '#69586a',
    500: '#301c32',
    950: '#000000',
  },
}
SCSS
$custom: #301c32;
$custom-light: #69586a;
$custom-dark: #000000;
JSON
{
  "hex": "#301c32",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 50
  },
  "hsl": {
    "h": 294.545,
    "s": 28.205,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26238,
    "c": 0.04868,
    "h": 323.6
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#301C32
secondary
#476644
accent
#C5636C
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #301C32

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

Preview Lab → · Contrast checker → · Palette generator →

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