#301C30#301C30

#301C30 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.1% C 0.046 H 326.8°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#301C30
RGBrgb(48, 28, 48)
HSLhsl(300, 26%, 15%)
HSVhsv(300, 42%, 19%)
CMYKcmyk(0%, 41.7%, 0%, 81.2%)
CIE-LABlab(13.66, 13.93, -9.29)
CIE-LCHlch(13.66, 16.74, 326.29°)
OKLaboklab(26.13% 0.0386 -0.0252)
OKLCHoklch(26.13% 0.046 326.8)
XYZxyz(2.1676, 1.6724, 3.0044)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C30 #1C301C
analogous
#261C30 #301C30 #301C26
triadic
#301C30 #30301C #1C3030
tetradic
#301C30 #30261C #1C301C #1C2630
square
#301C30 #30261C #1C301C #1C2630
split-complementary
#301C30 #26301C #1C3026
monochromatic
#130B13 #130B13 #301C30 #573357 #7D497D

Accessibility & contrast

On white

15.74
#301C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#301C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301C30
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C30#FFFFFF#000000##FFFFFF
##301C301.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2131
Deuteranopia (green-blind)
#20242F
Tritanopia (blue-blind)
#311E23
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #301c30;
/* rgb */ color: rgb(48, 28, 48);
/* oklch */ color: oklch(26.1% 0.046 326.8);
Tailwind
colors: {
  custom: {
    50: '#695868',
    500: '#301c30',
    950: '#000000',
  },
}
SCSS
$custom: #301c30;
$custom-light: #695868;
$custom-dark: #000000;
JSON
{
  "hex": "#301c30",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 48
  },
  "hsl": {
    "h": 300,
    "s": 26.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2613,
    "c": 0.04609,
    "h": 326.8
  },
  "luminance": 0.01672
}

Semantic roles & 50–950 ramp

primary
#301C30
secondary
#446344
accent
#C36565
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #301C30

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

Preview Lab → · Contrast checker → · Palette generator →

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