#30053A#30053A

#30053A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.2% C 0.100 H 319.1°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#30053A
RGBrgb(48, 5, 58)
HSLhsl(289, 84%, 12%)
HSVhsv(289, 91%, 23%)
CMYKcmyk(17.2%, 91.4%, 0%, 77.3%)
CIE-LABlab(9.34, 29.65, -23.32)
CIE-LCHlch(9.34, 37.73, 321.81°)
OKLaboklab(23.17% 0.0757 -0.0656)
OKLCHoklch(23.17% 0.1 319.1)
XYZxyz(2.0368, 1.0425, 4.0961)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30053A #0F3A05
analogous
#15053A #30053A #3A052A
triadic
#30053A #3A3005 #053A30
tetradic
#30053A #3A1505 #0F3A05 #052A3A
square
#30053A #3A1505 #0F3A05 #052A3A
split-complementary
#30053A #2A3A05 #053A15
monochromatic
#17021C #17021C #30053A #5F0A72 #8D0FAB

Accessibility & contrast

On white

17.38
#30053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#30053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30053A
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30053A#FFFFFF#000000##FFFFFF
##30053A1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#081C39
Tritanopia (blue-blind)
#30101F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #30053a;
/* rgb */ color: rgb(48, 5, 58);
/* oklch */ color: oklch(23.2% 0.100 319.1);
Tailwind
colors: {
  custom: {
    50: '#6b4b70',
    500: '#30053a',
    950: '#000000',
  },
}
SCSS
$custom: #30053a;
$custom-light: #6b4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#30053a",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 288.679,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23173,
    "c": 0.10016,
    "h": 319.1
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#30053A
secondary
#317B20
accent
#FA2D54
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #30053A

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

Preview Lab → · Contrast checker → · Palette generator →

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