#30072D#30072D

#30072D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.084 H 331.1°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#30072D
RGBrgb(48, 7, 45)
HSLhsl(304, 75%, 11%)
HSVhsv(304, 85%, 19%)
CMYKcmyk(0%, 85.4%, 6.2%, 81.2%)
CIE-LABlab(8.74, 25.87, -14.76)
CIE-LCHlch(8.74, 29.78, 330.28°)
OKLaboklab(22.44% 0.0738 -0.0406)
OKLCHoklch(22.44% 0.084 331.1)
XYZxyz(1.7686, 0.9699, 2.5762)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30072D #07300A
analogous
#1E0730 #30072D #300718
triadic
#30072D #2D3007 #072D30
tetradic
#30072D #301E07 #07300A #071830
square
#30072D #301E07 #07300A #071830
split-complementary
#30072D #183007 #07301E
monochromatic
#1B0419 #1B0419 #30072D #650F5F #9B1791

Accessibility & contrast

On white

17.59
#30072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#30072D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30072D
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30072D#FFFFFF#000000##FFFFFF
##30072D1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04152E
Deuteranopia (green-blind)
#131B2C
Tritanopia (blue-blind)
#320C19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #30072d;
/* rgb */ color: rgb(48, 7, 45);
/* oklch */ color: oklch(22.4% 0.084 331.1);
Tailwind
colors: {
  custom: {
    50: '#6a4b66',
    500: '#30072d',
    950: '#000000',
  },
}
SCSS
$custom: #30072d;
$custom-light: #6a4b66;
$custom-dark: #000000;
JSON
{
  "hex": "#30072d",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 304.39,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22436,
    "c": 0.08422,
    "h": 331.1
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#30072D
secondary
#237029
accent
#F14437
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30072D

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

Preview Lab → · Contrast checker → · Palette generator →

#30072D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva