#30022A#30022A

#30022A is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.091 H 334.3°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#30022A
RGBrgb(48, 2, 42)
HSLhsl(308, 92%, 10%)
HSVhsv(308, 96%, 19%)
CMYKcmyk(0%, 95.8%, 12.5%, 81.2%)
CIE-LABlab(7.58, 28.05, -14.35)
CIE-LCHlch(7.58, 31.51, 332.91°)
OKLaboklab(21.54% 0.0818 -0.0394)
OKLCHoklch(21.54% 0.091 334.3)
XYZxyz(1.6586, 0.8391, 2.2647)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30022A #023008
analogous
#1F0230 #30022A #300213
triadic
#30022A #2A3002 #022A30
tetradic
#30022A #301F02 #023008 #021330
square
#30022A #301F02 #023008 #021330
split-complementary
#30022A #133002 #02301F
monochromatic
#1D011A #1D011A #30022A #6B045D #A60791

Accessibility & contrast

On white

17.98
#30022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30022A
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30022A#FFFFFF#000000##FFFFFF
##30022A1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122B
Deuteranopia (green-blind)
#121929
Tritanopia (blue-blind)
#330515
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30022a;
/* rgb */ color: rgb(48, 2, 42);
/* oklch */ color: oklch(21.5% 0.091 334.3);
Tailwind
colors: {
  custom: {
    50: '#6b4863',
    500: '#30022a',
    950: '#000000',
  },
}
SCSS
$custom: #30022a;
$custom-light: #6b4863;
$custom-dark: #000000;
JSON
{
  "hex": "#30022a",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 307.826,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21537,
    "c": 0.09079,
    "h": 334.3
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#30022A
secondary
#197525
accent
#FF4529
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #30022A

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

Preview Lab → · Contrast checker → · Palette generator →

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