#300D2D#300D2D

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

Color values

HEX#300D2D
RGBrgb(48, 13, 45)
HSLhsl(305, 57%, 12%)
HSVhsv(305, 73%, 19%)
CMYKcmyk(0%, 72.9%, 6.2%, 81.2%)
CIE-LABlab(9.84, 22.78, -13.03)
CIE-LCHlch(9.84, 26.24, 330.23°)
OKLaboklab(23.24% 0.0649 -0.0357)
OKLCHoklch(23.24% 0.074 331.2)
XYZxyz(1.8365, 1.1058, 2.5988)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D2D #0D3010
analogous
#220D30 #300D2D #300D1C
triadic
#300D2D #2D300D #0D2D30
tetradic
#300D2D #30220D #0D3010 #0D1C30
square
#300D2D #30220D #0D3010 #0D1C30
split-complementary
#300D2D #1C300D #0D3022
monochromatic
#180717 #180717 #300D2D #601A5A #902787

Accessibility & contrast

On white

17.20
#300D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300D2D
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D2D#FFFFFF#000000##FFFFFF
##300D2D1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182E
Deuteranopia (green-blind)
#171D2C
Tritanopia (blue-blind)
#32101B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300d2d;
/* rgb */ color: rgb(48, 13, 45);
/* oklch */ color: oklch(23.2% 0.074 331.2);
Tailwind
colors: {
  custom: {
    50: '#6a4e66',
    500: '#300d2d',
    950: '#000000',
  },
}
SCSS
$custom: #300d2d;
$custom-light: #6a4e66;
$custom-dark: #000000;
JSON
{
  "hex": "#300d2d",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 305.143,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23236,
    "c": 0.07403,
    "h": 331.2
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#300D2D
secondary
#2E6B33
accent
#E15447
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #300D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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