#30072B#30072B

#30072B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.082 H 333.4°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#30072B
RGBrgb(48, 7, 43)
HSLhsl(307, 75%, 11%)
HSVhsv(307, 85%, 19%)
CMYKcmyk(0%, 85.4%, 10.4%, 81.2%)
CIE-LABlab(8.61, 25.47, -13.48)
CIE-LCHlch(8.61, 28.82, 332.12°)
OKLaboklab(22.3% 0.0736 -0.0369)
OKLCHoklch(22.3% 0.082 333.4)
XYZxyz(1.7310, 0.9549, 2.3782)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30072B #07300C
analogous
#200730 #30072B #300716
triadic
#30072B #2B3007 #072B30
tetradic
#30072B #302007 #07300C #071630
square
#30072B #302007 #07300C #071630
split-complementary
#30072B #163007 #073020
monochromatic
#1B0418 #1B0418 #30072B #650F5B #9B178B

Accessibility & contrast

On white

17.63
#30072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30072B
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30072B#FFFFFF#000000##FFFFFF
##30072B1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06152C
Deuteranopia (green-blind)
#141B2A
Tritanopia (blue-blind)
#330B18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #30072b;
/* rgb */ color: rgb(48, 7, 43);
/* oklch */ color: oklch(22.3% 0.082 333.4);
Tailwind
colors: {
  custom: {
    50: '#6a4b64',
    500: '#30072b',
    950: '#000000',
  },
}
SCSS
$custom: #30072b;
$custom-light: #6a4b64;
$custom-dark: #000000;
JSON
{
  "hex": "#30072b",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 307.317,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22302,
    "c": 0.08236,
    "h": 333.4
  },
  "luminance": 0.00955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30072B

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

Preview Lab → · Contrast checker → · Palette generator →

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