#30072C#30072C

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

Color values

HEX#30072C
RGBrgb(48, 7, 44)
HSLhsl(306, 75%, 11%)
HSVhsv(306, 85%, 19%)
CMYKcmyk(0%, 85.4%, 8.3%, 81.2%)
CIE-LABlab(8.67, 25.67, -14.12)
CIE-LCHlch(8.67, 29.29, 331.18°)
OKLaboklab(22.37% 0.0737 -0.0388)
OKLCHoklch(22.37% 0.083 332.2)
XYZxyz(1.7495, 0.9623, 2.4760)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30072C #07300B
analogous
#1F0730 #30072C #300717
triadic
#30072C #2C3007 #072C30
tetradic
#30072C #301F07 #07300B #071730
square
#30072C #301F07 #07300B #071730
split-complementary
#30072C #173007 #07301F
monochromatic
#1B0418 #1B0418 #30072C #650F5D #9B178E

Accessibility & contrast

On white

17.61
#30072C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30072C
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30072C#FFFFFF#000000##FFFFFF
##30072C1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05152D
Deuteranopia (green-blind)
#141B2B
Tritanopia (blue-blind)
#320B18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #30072c;
/* rgb */ color: rgb(48, 7, 44);
/* oklch */ color: oklch(22.4% 0.083 332.2);
Tailwind
colors: {
  custom: {
    50: '#6a4b65',
    500: '#30072c',
    950: '#000000',
  },
}
SCSS
$custom: #30072c;
$custom-light: #6a4b65;
$custom-dark: #000000;
JSON
{
  "hex": "#30072c",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 305.854,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22368,
    "c": 0.08328,
    "h": 332.2
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#30072C
secondary
#23702B
accent
#F14937
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #30072C

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

Preview Lab → · Contrast checker → · Palette generator →

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