#30072F#30072F

#30072F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.086 H 329.0°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#30072F
RGBrgb(48, 7, 47)
HSLhsl(301, 75%, 11%)
HSVhsv(301, 85%, 19%)
CMYKcmyk(0%, 85.4%, 2.1%, 81.2%)
CIE-LABlab(8.87, 26.27, -16.04)
CIE-LCHlch(8.87, 30.77, 328.59°)
OKLaboklab(22.58% 0.0738 -0.0443)
OKLCHoklch(22.58% 0.086 329)
XYZxyz(1.8080, 0.9857, 2.7838)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30072F #073008
analogous
#1C0730 #30072F #30071A
triadic
#30072F #2F3007 #072F30
tetradic
#30072F #301C07 #073008 #071A30
square
#30072F #301C07 #073008 #071A30
split-complementary
#30072F #1A3007 #07301C
monochromatic
#1B041A #1B041A #30072F #650F63 #9B1798

Accessibility & contrast

On white

17.54
#30072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30072F
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30072F#FFFFFF#000000##FFFFFF
##30072F1.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#121B2E
Tritanopia (blue-blind)
#320D1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #30072f;
/* rgb */ color: rgb(48, 7, 47);
/* oklch */ color: oklch(22.6% 0.086 329.0);
Tailwind
colors: {
  custom: {
    50: '#6a4b67',
    500: '#30072f',
    950: '#000000',
  },
}
SCSS
$custom: #30072f;
$custom-light: #6a4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#30072f",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 301.463,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22575,
    "c": 0.08612,
    "h": 329
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#30072F
secondary
#237025
accent
#F13B37
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30072F

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

Preview Lab → · Contrast checker → · Palette generator →

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