#301E36#301E36

#301E36 is a dark, muted purple. Relative luminance 0.018; OKLCH L 26.9% C 0.050 H 317.4°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#301E36
RGBrgb(48, 30, 54)
HSLhsl(285, 29%, 16%)
HSVhsv(285, 44%, 21%)
CMYKcmyk(11.1%, 44.4%, 0%, 78.8%)
CIE-LABlab(14.53, 14.04, -12.24)
CIE-LCHlch(14.53, 18.63, 318.92°)
OKLaboklab(26.89% 0.0366 -0.0336)
OKLCHoklch(26.89% 0.05 317.4)
XYZxyz(2.3490, 1.8233, 3.7175)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301E36 #24361E
analogous
#241E36 #301E36 #361E30
triadic
#301E36 #36301E #1E3630
tetradic
#301E36 #36241E #24361E #1E3036
square
#301E36 #36241E #24361E #1E3036
split-complementary
#301E36 #30361E #1E3624
monochromatic
#110B14 #110B14 #301E36 #53345D #764A85

Accessibility & contrast

On white

15.39
#301E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#301E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301E36
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301E36#FFFFFF#000000##FFFFFF
##301E361.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2437
Deuteranopia (green-blind)
#1F2535
Tritanopia (blue-blind)
#302127
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #301e36;
/* rgb */ color: rgb(48, 30, 54);
/* oklch */ color: oklch(26.9% 0.050 317.4);
Tailwind
colors: {
  custom: {
    50: '#695a6d',
    500: '#301e36',
    950: '#000000',
  },
}
SCSS
$custom: #301e36;
$custom-light: #695a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#301e36",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 54
  },
  "hsl": {
    "h": 285,
    "s": 28.571,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26885,
    "c": 0.0497,
    "h": 317.4
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#301E36
secondary
#4F6946
accent
#C5637B
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #301E36

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

Preview Lab → · Contrast checker → · Palette generator →

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