#30052B#30052B

#30052B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.086 H 333.3°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#30052B
RGBrgb(48, 5, 43)
HSLhsl(307, 81%, 10%)
HSVhsv(307, 90%, 19%)
CMYKcmyk(0%, 89.6%, 10.4%, 81.2%)
CIE-LABlab(8.23, 26.55, -14.07)
CIE-LCHlch(8.23, 30.05, 332.08°)
OKLaboklab(22.03% 0.0768 -0.0386)
OKLCHoklch(22.03% 0.086 333.3)
XYZxyz(1.7093, 0.9115, 2.3709)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30052B #05300A
analogous
#1F0530 #30052B #300515
triadic
#30052B #2B3005 #052B30
tetradic
#30052B #301F05 #05300A #051530
square
#30052B #301F05 #05300A #051530
split-complementary
#30052B #153005 #05301F
monochromatic
#1C0319 #1C0319 #30052B #670B5D #9F118E

Accessibility & contrast

On white

17.76
#30052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30052B
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30052B#FFFFFF#000000##FFFFFF
##30052B1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142C
Deuteranopia (green-blind)
#131A2A
Tritanopia (blue-blind)
#330917
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #30052b;
/* rgb */ color: rgb(48, 5, 43);
/* oklch */ color: oklch(22.0% 0.086 333.3);
Tailwind
colors: {
  custom: {
    50: '#6a4a64',
    500: '#30052b',
    950: '#000000',
  },
}
SCSS
$custom: #30052b;
$custom-light: #6a4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#30052b",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 306.977,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22029,
    "c": 0.08595,
    "h": 333.3
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#30052B
secondary
#1F7229
accent
#F84730
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #30052B

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

Preview Lab → · Contrast checker → · Palette generator →

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