#300D2C#300D2C

#300D2C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.073 H 332.4°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#300D2C
RGBrgb(48, 13, 44)
HSLhsl(307, 57%, 12%)
HSVhsv(307, 73%, 19%)
CMYKcmyk(0%, 72.9%, 8.3%, 81.2%)
CIE-LABlab(9.78, 22.57, -12.38)
CIE-LCHlch(9.78, 25.74, 331.25°)
OKLaboklab(23.17% 0.0647 -0.0338)
OKLCHoklch(23.17% 0.073 332.4)
XYZxyz(1.8175, 1.0982, 2.4986)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D2C #0D3011
analogous
#230D30 #300D2C #300D1B
triadic
#300D2C #2C300D #0D2C30
tetradic
#300D2C #30230D #0D3011 #0D1B30
square
#300D2C #30230D #0D3011 #0D1B30
split-complementary
#300D2C #1B300D #0D3023
monochromatic
#180716 #180716 #300D2C #601A58 #902784

Accessibility & contrast

On white

17.22
#300D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300D2C
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D2C#FFFFFF#000000##FFFFFF
##300D2C1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300d2c;
/* rgb */ color: rgb(48, 13, 44);
/* oklch */ color: oklch(23.2% 0.073 332.4);
Tailwind
colors: {
  custom: {
    50: '#6a4e65',
    500: '#300d2c',
    950: '#000000',
  },
}
SCSS
$custom: #300d2c;
$custom-light: #6a4e65;
$custom-dark: #000000;
JSON
{
  "hex": "#300d2c",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 306.857,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23174,
    "c": 0.07301,
    "h": 332.4
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#300D2C
secondary
#2E6B35
accent
#E15947
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #300D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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