#30022D#30022D

#30022D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.093 H 331.2°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#30022D
RGBrgb(48, 2, 45)
HSLhsl(304, 92%, 10%)
HSVhsv(304, 96%, 19%)
CMYKcmyk(0%, 95.8%, 6.2%, 81.2%)
CIE-LABlab(7.78, 28.62, -16.28)
CIE-LCHlch(7.78, 32.93, 330.37°)
OKLaboklab(21.75% 0.0818 -0.045)
OKLCHoklch(21.75% 0.093 331.2)
XYZxyz(1.7143, 0.8614, 2.5581)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30022D #023005
analogous
#1C0230 #30022D #300216
triadic
#30022D #2D3002 #022D30
tetradic
#30022D #301C02 #023005 #021630
square
#30022D #301C02 #023005 #021630
split-complementary
#30022D #163002 #02301C
monochromatic
#1D011C #1D011C #30022D #6B0464 #A6079B

Accessibility & contrast

On white

17.92
#30022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#30022D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30022D
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30022D#FFFFFF#000000##FFFFFF
##30022D1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#11192C
Tritanopia (blue-blind)
#320717
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30022d;
/* rgb */ color: rgb(48, 2, 45);
/* oklch */ color: oklch(21.8% 0.093 331.2);
Tailwind
colors: {
  custom: {
    50: '#6b4866',
    500: '#30022d',
    950: '#000000',
  },
}
SCSS
$custom: #30022d;
$custom-light: #6b4866;
$custom-dark: #000000;
JSON
{
  "hex": "#30022d",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 303.913,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21751,
    "c": 0.09332,
    "h": 331.2
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#30022D
secondary
#19751F
accent
#FF3729
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30022D

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

Preview Lab → · Contrast checker → · Palette generator →

#30022D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva