#300D31#300D31

#300D31 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.078 H 326.6°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#300D31
RGBrgb(48, 13, 49)
HSLhsl(298, 58%, 12%)
HSVhsv(298, 73%, 19%)
CMYKcmyk(2%, 73.5%, 0%, 80.8%)
CIE-LABlab(10.09, 23.64, -15.58)
CIE-LCHlch(10.09, 28.31, 326.61°)
OKLaboklab(23.5% 0.0653 -0.0431)
OKLCHoklch(23.5% 0.078 326.6)
XYZxyz(1.9172, 1.1381, 3.0238)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D31 #0E310D
analogous
#1E0D31 #300D31 #310D20
triadic
#300D31 #31300D #0D3130
tetradic
#300D31 #311E0D #0E310D #0D2031
square
#300D31 #311E0D #0E310D #0D2031
split-complementary
#300D31 #20310D #0D311E
monochromatic
#180618 #180618 #300D31 #5F1A61 #8F2792

Accessibility & contrast

On white

17.11
#300D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300D31
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D31#FFFFFF#000000##FFFFFF
##300D311.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081932
Deuteranopia (green-blind)
#151D30
Tritanopia (blue-blind)
#32121D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300d31;
/* rgb */ color: rgb(48, 13, 49);
/* oklch */ color: oklch(23.5% 0.078 326.6);
Tailwind
colors: {
  custom: {
    50: '#6a4e69',
    500: '#300d31',
    950: '#000000',
  },
}
SCSS
$custom: #300d31;
$custom-light: #6a4e69;
$custom-dark: #000000;
JSON
{
  "hex": "#300d31",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 298.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23499,
    "c": 0.07823,
    "h": 326.6
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#300D31
secondary
#2F6C2E
accent
#E1474B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #300D31

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

Preview Lab → · Contrast checker → · Palette generator →

#300D31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva