#30072E#30072E

#30072E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.085 H 330.1°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#30072E
RGBrgb(48, 7, 46)
HSLhsl(303, 75%, 11%)
HSVhsv(303, 85%, 19%)
CMYKcmyk(0%, 85.4%, 4.2%, 81.2%)
CIE-LABlab(8.80, 26.06, -15.40)
CIE-LCHlch(8.80, 30.27, 329.42°)
OKLaboklab(22.51% 0.0738 -0.0425)
OKLCHoklch(22.51% 0.085 330.1)
XYZxyz(1.7880, 0.9777, 2.6788)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30072E #073009
analogous
#1D0730 #30072E #300719
triadic
#30072E #2E3007 #072E30
tetradic
#30072E #301D07 #073009 #071930
square
#30072E #301D07 #073009 #071930
split-complementary
#30072E #193007 #07301D
monochromatic
#1B041A #1B041A #30072E #650F61 #9B1794

Accessibility & contrast

On white

17.56
#30072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#30072E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30072E
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30072E#FFFFFF#000000##FFFFFF
##30072E1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04162F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#320C19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #30072e;
/* rgb */ color: rgb(48, 7, 46);
/* oklch */ color: oklch(22.5% 0.085 330.1);
Tailwind
colors: {
  custom: {
    50: '#6a4b67',
    500: '#30072e',
    950: '#000000',
  },
}
SCSS
$custom: #30072e;
$custom-light: #6a4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#30072e",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 302.927,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22505,
    "c": 0.08516,
    "h": 330.1
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#30072E
secondary
#237027
accent
#F14037
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30072E

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

Preview Lab → · Contrast checker → · Palette generator →

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