#30073B#30073B

#30073B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.098 H 318.0°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#30073B
RGBrgb(48, 7, 59)
HSLhsl(287, 79%, 13%)
HSVhsv(287, 88%, 23%)
CMYKcmyk(18.6%, 88.1%, 0%, 76.9%)
CIE-LABlab(9.77, 28.88, -23.35)
CIE-LCHlch(9.77, 37.14, 321.04°)
OKLaboklab(23.5% 0.0729 -0.0657)
OKLCHoklch(23.5% 0.098 318)
XYZxyz(2.0842, 1.0962, 4.2386)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30073B #123B07
analogous
#16073B #30073B #3B072C
triadic
#30073B #3B3007 #073B30
tetradic
#30073B #3B1607 #123B07 #072C3B
square
#30073B #3B1607 #123B07 #072C3B
split-complementary
#30073B #2C3B07 #073B16
monochromatic
#16031B #16031B #30073B #5D0D72 #8914A8

Accessibility & contrast

On white

17.22
#30073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30073B
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30073B#FFFFFF#000000##FFFFFF
##30073B1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#091C3A
Tritanopia (blue-blind)
#301221
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #30073b;
/* rgb */ color: rgb(48, 7, 59);
/* oklch */ color: oklch(23.5% 0.098 318.0);
Tailwind
colors: {
  custom: {
    50: '#6b4c71',
    500: '#30073b',
    950: '#000000',
  },
}
SCSS
$custom: #30073b;
$custom-light: #6b4c71;
$custom-dark: #000000;
JSON
{
  "hex": "#30073b",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 287.308,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.235,
    "c": 0.09815,
    "h": 318
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#30073B
secondary
#367A23
accent
#F5335C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #30073B

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

Preview Lab → · Contrast checker → · Palette generator →

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