#30052C#30052C

#30052C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.087 H 332.2°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#30052C
RGBrgb(48, 5, 44)
HSLhsl(306, 81%, 10%)
HSVhsv(306, 90%, 19%)
CMYKcmyk(0%, 89.6%, 8.3%, 81.2%)
CIE-LABlab(8.30, 26.74, -14.72)
CIE-LCHlch(8.30, 30.52, 331.17°)
OKLaboklab(22.1% 0.0768 -0.0405)
OKLCHoklch(22.1% 0.087 332.2)
XYZxyz(1.7278, 0.9189, 2.4688)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30052C #053009
analogous
#1E0530 #30052C #300516
triadic
#30052C #2C3005 #052C30
tetradic
#30052C #301E05 #053009 #051630
square
#30052C #301E05 #053009 #051630
split-complementary
#30052C #163005 #05301E
monochromatic
#1C0319 #1C0319 #30052C #670B5F #9F1192

Accessibility & contrast

On white

17.74
#30052C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#30052C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30052C
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30052C#FFFFFF#000000##FFFFFF
##30052C1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#131A2B
Tritanopia (blue-blind)
#320917
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #30052c;
/* rgb */ color: rgb(48, 5, 44);
/* oklch */ color: oklch(22.1% 0.087 332.2);
Tailwind
colors: {
  custom: {
    50: '#6a4a65',
    500: '#30052c',
    950: '#000000',
  },
}
SCSS
$custom: #30052c;
$custom-light: #6a4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#30052c",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 44
  },
  "hsl": {
    "h": 305.581,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22098,
    "c": 0.08685,
    "h": 332.2
  },
  "luminance": 0.00919
}

Semantic roles & 50–950 ramp

primary
#30052C
secondary
#1F7227
accent
#F84330
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #30052C

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

Preview Lab → · Contrast checker → · Palette generator →

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