#30072A#30072A

#30072A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.081 H 334.5°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#30072A
RGBrgb(48, 7, 42)
HSLhsl(309, 75%, 11%)
HSVhsv(309, 85%, 19%)
CMYKcmyk(0%, 85.4%, 12.5%, 81.2%)
CIE-LABlab(8.55, 25.28, -12.82)
CIE-LCHlch(8.55, 28.34, 333.10°)
OKLaboklab(22.24% 0.0735 -0.0351)
OKLCHoklch(22.24% 0.081 334.5)
XYZxyz(1.7128, 0.9477, 2.2827)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30072A #07300D
analogous
#210730 #30072A #300715
triadic
#30072A #2A3007 #072A30
tetradic
#30072A #302107 #07300D #071530
square
#30072A #302107 #07300D #071530
split-complementary
#30072A #153007 #073021
monochromatic
#1B0417 #1B0417 #30072A #650F59 #9B1787

Accessibility & contrast

On white

17.65
#30072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30072A
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30072A#FFFFFF#000000##FFFFFF
##30072A1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07152B
Deuteranopia (green-blind)
#151B29
Tritanopia (blue-blind)
#330A17
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #30072a;
/* rgb */ color: rgb(48, 7, 42);
/* oklch */ color: oklch(22.2% 0.081 334.5);
Tailwind
colors: {
  custom: {
    50: '#6a4b63',
    500: '#30072a',
    950: '#000000',
  },
}
SCSS
$custom: #30072a;
$custom-light: #6a4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#30072a",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 308.78,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22236,
    "c": 0.08145,
    "h": 334.5
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#30072A
secondary
#23702E
accent
#F15237
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #30072A

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

Preview Lab → · Contrast checker → · Palette generator →

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