#300D2B#300D2B

#300D2B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.072 H 333.6°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#300D2B
RGBrgb(48, 13, 43)
HSLhsl(309, 57%, 12%)
HSVhsv(309, 73%, 19%)
CMYKcmyk(0%, 72.9%, 10.4%, 81.2%)
CIE-LABlab(9.73, 22.36, -11.73)
CIE-LCHlch(9.73, 25.25, 332.32°)
OKLaboklab(23.11% 0.0645 -0.032)
OKLCHoklch(23.11% 0.072 333.6)
XYZxyz(1.7989, 1.0908, 2.4008)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D2B #0D3012
analogous
#240D30 #300D2B #300D1A
triadic
#300D2B #2B300D #0D2B30
tetradic
#300D2B #30240D #0D3012 #0D1A30
square
#300D2B #30240D #0D3012 #0D1A30
split-complementary
#300D2B #1A300D #0D3024
monochromatic
#180716 #180716 #300D2B #601A56 #902781

Accessibility & contrast

On white

17.24
#300D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#300D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300D2B
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D2B#FFFFFF#000000##FFFFFF
##300D2B1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182C
Deuteranopia (green-blind)
#171D2A
Tritanopia (blue-blind)
#32101A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300d2b;
/* rgb */ color: rgb(48, 13, 43);
/* oklch */ color: oklch(23.1% 0.072 333.6);
Tailwind
colors: {
  custom: {
    50: '#6a4e64',
    500: '#300d2b',
    950: '#000000',
  },
}
SCSS
$custom: #300d2b;
$custom-light: #6a4e64;
$custom-dark: #000000;
JSON
{
  "hex": "#300d2b",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 308.571,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23112,
    "c": 0.07202,
    "h": 333.6
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#300D2B
secondary
#2E6B36
accent
#E15D47
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #300D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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