#30073C#30073C

#30073C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.099 H 317.2°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#30073C
RGBrgb(48, 7, 60)
HSLhsl(286, 79%, 13%)
HSVhsv(286, 88%, 24%)
CMYKcmyk(20%, 88.3%, 0%, 76.5%)
CIE-LABlab(9.85, 29.11, -23.94)
CIE-LCHlch(9.85, 37.69, 320.56°)
OKLaboklab(23.58% 0.0728 -0.0674)
OKLCHoklch(23.58% 0.099 317.2)
XYZxyz(2.1104, 1.1067, 4.3765)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30073C #133C07
analogous
#15073C #30073C #3C072D
triadic
#30073C #3C3007 #073C30
tetradic
#30073C #3C1507 #133C07 #072D3C
square
#30073C #3C1507 #133C07 #072D3C
split-complementary
#30073C #2D3C07 #073C15
monochromatic
#16031B #16031B #30073C #5C0D73 #8814AA

Accessibility & contrast

On white

17.19
#30073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30073C
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30073C#FFFFFF#000000##FFFFFF
##30073C1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#081C3B
Tritanopia (blue-blind)
#2F1321
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #30073c;
/* rgb */ color: rgb(48, 7, 60);
/* oklch */ color: oklch(23.6% 0.099 317.2);
Tailwind
colors: {
  custom: {
    50: '#6b4c72',
    500: '#30073c',
    950: '#000000',
  },
}
SCSS
$custom: #30073c;
$custom-light: #6b4c72;
$custom-dark: #000000;
JSON
{
  "hex": "#30073c",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 286.415,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23584,
    "c": 0.09919,
    "h": 317.2
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#30073C
secondary
#377B23
accent
#F6325E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #30073C

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

Preview Lab → · Contrast checker → · Palette generator →

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