#301339#301339

#301339 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.077 H 317.5°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#301339
RGBrgb(48, 19, 57)
HSLhsl(286, 50%, 15%)
HSVhsv(286, 67%, 22%)
CMYKcmyk(15.8%, 66.7%, 0%, 77.6%)
CIE-LABlab(11.89, 22.07, -18.53)
CIE-LCHlch(11.89, 28.82, 319.99°)
OKLaboklab(24.98% 0.0565 -0.0517)
OKLCHoklch(24.98% 0.077 317.5)
XYZxyz(2.1902, 1.3896, 4.0230)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301339 #1C3913
analogous
#1D1339 #301339 #39132F
triadic
#301339 #393013 #133930
tetradic
#301339 #391D13 #1C3913 #132F39
square
#301339 #391D13 #1C3913 #132F39
split-complementary
#301339 #2F3913 #13391D
monochromatic
#130817 #130817 #301339 #572267 #7D3295

Accessibility & contrast

On white

16.43
#301339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#301339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301339
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301339#FFFFFF#000000##FFFFFF
##3013391.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1D3A
Deuteranopia (green-blind)
#142038
Tritanopia (blue-blind)
#301923
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #301339;
/* rgb */ color: rgb(48, 19, 57);
/* oklch */ color: oklch(25.0% 0.077 317.5);
Tailwind
colors: {
  custom: {
    50: '#6a526f',
    500: '#301339',
    950: '#000000',
  },
}
SCSS
$custom: #301339;
$custom-light: #6a526f;
$custom-dark: #000000;
JSON
{
  "hex": "#301339",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 57
  },
  "hsl": {
    "h": 285.789,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24978,
    "c": 0.07657,
    "h": 317.5
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#301339
secondary
#447137
accent
#DA4E6F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #301339

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

Preview Lab → · Contrast checker → · Palette generator →

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