#30053B#30053B

#30053B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.101 H 318.3°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#30053B
RGBrgb(48, 5, 59)
HSLhsl(288, 84%, 13%)
HSVhsv(288, 92%, 23%)
CMYKcmyk(18.6%, 91.5%, 0%, 76.9%)
CIE-LABlab(9.42, 29.88, -23.91)
CIE-LCHlch(9.42, 38.27, 321.33°)
OKLaboklab(23.26% 0.0755 -0.0673)
OKLCHoklch(23.26% 0.101 318.3)
XYZxyz(2.0625, 1.0528, 4.2314)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30053B #103B05
analogous
#15053B #30053B #3B052B
triadic
#30053B #3B3005 #053B30
tetradic
#30053B #3B1505 #103B05 #052B3B
square
#30053B #3B1505 #103B05 #052B3B
split-complementary
#30053B #2B3B05 #053B15
monochromatic
#17021C #17021C #30053B #5E0A73 #8C0FAC

Accessibility & contrast

On white

17.35
#30053B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30053B
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30053B#FFFFFF#000000##FFFFFF
##30053B1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#071C3A
Tritanopia (blue-blind)
#301120
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #30053b;
/* rgb */ color: rgb(48, 5, 59);
/* oklch */ color: oklch(23.3% 0.101 318.3);
Tailwind
colors: {
  custom: {
    50: '#6b4b71',
    500: '#30053b',
    950: '#000000',
  },
}
SCSS
$custom: #30053b;
$custom-light: #6b4b71;
$custom-dark: #000000;
JSON
{
  "hex": "#30053b",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 59
  },
  "hsl": {
    "h": 287.778,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23257,
    "c": 0.10116,
    "h": 318.3
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#30053B
secondary
#337C20
accent
#FB2D57
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #30053B

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

Preview Lab → · Contrast checker → · Palette generator →

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