#301337#301337

#301337 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.8% C 0.074 H 319.5°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#301337
RGBrgb(48, 19, 55)
HSLhsl(288, 49%, 15%)
HSVhsv(288, 65%, 22%)
CMYKcmyk(12.7%, 65.5%, 0%, 78.4%)
CIE-LABlab(11.76, 21.58, -17.30)
CIE-LCHlch(11.76, 27.66, 321.27°)
OKLaboklab(24.84% 0.0563 -0.0481)
OKLCHoklch(24.84% 0.074 319.5)
XYZxyz(2.1413, 1.3700, 3.7653)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301337 #1A3713
analogous
#1E1337 #301337 #37132C
triadic
#301337 #373013 #133730
tetradic
#301337 #371E13 #1A3713 #132C37
square
#301337 #371E13 #1A3713 #132C37
split-complementary
#301337 #2C3713 #13371E
monochromatic
#140817 #140817 #301337 #582364 #7F3292

Accessibility & contrast

On white

16.48
#301337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#301337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301337
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301337#FFFFFF#000000##FFFFFF
##3013371.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1D38
Deuteranopia (green-blind)
#152036
Tritanopia (blue-blind)
#301822
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #301337;
/* rgb */ color: rgb(48, 19, 55);
/* oklch */ color: oklch(24.8% 0.074 319.5);
Tailwind
colors: {
  custom: {
    50: '#6a526e',
    500: '#301337',
    950: '#000000',
  },
}
SCSS
$custom: #301337;
$custom-light: #6a526e;
$custom-dark: #000000;
JSON
{
  "hex": "#301337",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 288.333,
    "s": 48.649,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24839,
    "c": 0.07408,
    "h": 319.5
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#301337
secondary
#426F37
accent
#D8506A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #301337

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

Preview Lab → · Contrast checker → · Palette generator →

#301337 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva