#30053C#30053C

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

Color values

HEX#30053C
RGBrgb(48, 5, 60)
HSLhsl(287, 85%, 13%)
HSVhsv(287, 92%, 24%)
CMYKcmyk(20%, 91.7%, 0%, 76.5%)
CIE-LABlab(9.51, 30.10, -24.49)
CIE-LCHlch(9.51, 38.81, 320.87°)
OKLaboklab(23.34% 0.0753 -0.069)
OKLCHoklch(23.34% 0.102 317.5)
XYZxyz(2.0887, 1.0633, 4.3693)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30053C #113C05
analogous
#14053C #30053C #3C052C
triadic
#30053C #3C3005 #053C30
tetradic
#30053C #3C1405 #113C05 #052C3C
square
#30053C #3C1405 #113C05 #052C3C
split-complementary
#30053C #2C3C05 #053C14
monochromatic
#17021C #17021C #30053C #5D0A74 #8A0EAD

Accessibility & contrast

On white

17.32
#30053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30053C
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30053C#FFFFFF#000000##FFFFFF
##30053C1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#061C3B
Tritanopia (blue-blind)
#2F1121
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #30053c;
/* rgb */ color: rgb(48, 5, 60);
/* oklch */ color: oklch(23.3% 0.102 317.5);
Tailwind
colors: {
  custom: {
    50: '#6b4b72',
    500: '#30053c',
    950: '#000000',
  },
}
SCSS
$custom: #30053c;
$custom-light: #6b4b72;
$custom-dark: #000000;
JSON
{
  "hex": "#30053c",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 286.909,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23343,
    "c": 0.10215,
    "h": 317.5
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#30053C
secondary
#347D20
accent
#FB2D5A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #30053C

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

Preview Lab → · Contrast checker → · Palette generator →

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