#30073A#30073A

#30073A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.097 H 318.8°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#30073A
RGBrgb(48, 7, 58)
HSLhsl(288, 78%, 13%)
HSVhsv(288, 88%, 23%)
CMYKcmyk(17.2%, 87.9%, 0%, 77.3%)
CIE-LABlab(9.69, 28.65, -22.76)
CIE-LCHlch(9.69, 36.59, 321.53°)
OKLaboklab(23.42% 0.0731 -0.064)
OKLCHoklch(23.42% 0.097 318.8)
XYZxyz(2.0585, 1.0859, 4.1033)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30073A #113A07
analogous
#16073A #30073A #3A072A
triadic
#30073A #3A3007 #073A30
tetradic
#30073A #3A1607 #113A07 #072A3A
square
#30073A #3A1607 #113A07 #072A3A
split-complementary
#30073A #2A3A07 #073A16
monochromatic
#17031B #17031B #30073A #5D0E71 #8A14A7

Accessibility & contrast

On white

17.25
#30073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#30073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30073A
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30073A#FFFFFF#000000##FFFFFF
##30073A1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#0A1C39
Tritanopia (blue-blind)
#301220
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #30073a;
/* rgb */ color: rgb(48, 7, 58);
/* oklch */ color: oklch(23.4% 0.097 318.8);
Tailwind
colors: {
  custom: {
    50: '#6b4c70',
    500: '#30073a',
    950: '#000000',
  },
}
SCSS
$custom: #30073a;
$custom-light: #6b4c70;
$custom-dark: #000000;
JSON
{
  "hex": "#30073a",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 288.235,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23417,
    "c": 0.09712,
    "h": 318.8
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#30073A
secondary
#347923
accent
#F53359
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #30073A

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

Preview Lab → · Contrast checker → · Palette generator →

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