#30052E#30052E

#30052E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.089 H 330.1°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#30052E
RGBrgb(48, 5, 46)
HSLhsl(303, 81%, 10%)
HSVhsv(303, 90%, 19%)
CMYKcmyk(0%, 89.6%, 4.2%, 81.2%)
CIE-LABlab(8.43, 27.13, -15.99)
CIE-LCHlch(8.43, 31.49, 329.48°)
OKLaboklab(22.24% 0.0769 -0.0442)
OKLCHoklch(22.24% 0.089 330.1)
XYZxyz(1.7663, 0.9343, 2.6715)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30052E #053007
analogous
#1C0530 #30052E #300518
triadic
#30052E #2E3005 #052E30
tetradic
#30052E #301C05 #053007 #051830
square
#30052E #301C05 #053007 #051830
split-complementary
#30052E #183005 #05301C
monochromatic
#1C031B #1C031B #30052E #670B63 #9F1198

Accessibility & contrast

On white

17.69
#30052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#30052E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30052E
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30052E#FFFFFF#000000##FFFFFF
##30052E1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#121A2D
Tritanopia (blue-blind)
#320A19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #30052e;
/* rgb */ color: rgb(48, 5, 46);
/* oklch */ color: oklch(22.2% 0.089 330.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a67',
    500: '#30052e',
    950: '#000000',
  },
}
SCSS
$custom: #30052e;
$custom-light: #6a4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#30052e",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 302.791,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22238,
    "c": 0.08865,
    "h": 330.1
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#30052E
secondary
#1F7223
accent
#F83A30
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30052E

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

Preview Lab → · Contrast checker → · Palette generator →

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