#301C36#301C36

#301C36 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.5% C 0.054 H 318.2°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#301C36
RGBrgb(48, 28, 54)
HSLhsl(286, 32%, 16%)
HSVhsv(286, 48%, 21%)
CMYKcmyk(11.1%, 48.1%, 0%, 78.8%)
CIE-LABlab(13.97, 15.42, -13.11)
CIE-LCHlch(13.97, 20.24, 319.63°)
OKLaboklab(26.47% 0.0403 -0.0361)
OKLCHoklch(26.47% 0.054 318.2)
XYZxyz(2.2999, 1.7253, 3.7012)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C36 #22361C
analogous
#231C36 #301C36 #361C2F
triadic
#301C36 #36301C #1C3630
tetradic
#301C36 #36231C #22361C #1C2F36
square
#301C36 #36231C #22361C #1C2F36
split-complementary
#301C36 #2F361C #1C3623
monochromatic
#120A14 #120A14 #301C36 #54315E #784687

Accessibility & contrast

On white

15.61
#301C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301C36
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C36#FFFFFF#000000##FFFFFF
##301C361.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182237
Deuteranopia (green-blind)
#1D2435
Tritanopia (blue-blind)
#301F26
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #301c36;
/* rgb */ color: rgb(48, 28, 54);
/* oklch */ color: oklch(26.5% 0.054 318.2);
Tailwind
colors: {
  custom: {
    50: '#69586d',
    500: '#301c36',
    950: '#000000',
  },
}
SCSS
$custom: #301c36;
$custom-light: #69586d;
$custom-dark: #000000;
JSON
{
  "hex": "#301c36",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 54
  },
  "hsl": {
    "h": 286.154,
    "s": 31.707,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26465,
    "c": 0.0541,
    "h": 318.2
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#301C36
secondary
#4D6A44
accent
#C86078
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #301C36

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

Preview Lab → · Contrast checker → · Palette generator →

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