#30022B#30022B

#30022B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.092 H 333.2°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#30022B
RGBrgb(48, 2, 43)
HSLhsl(307, 92%, 10%)
HSVhsv(307, 96%, 19%)
CMYKcmyk(0%, 95.8%, 10.4%, 81.2%)
CIE-LABlab(7.65, 28.24, -15.00)
CIE-LCHlch(7.65, 31.97, 332.03°)
OKLaboklab(21.61% 0.0818 -0.0413)
OKLCHoklch(21.61% 0.092 333.2)
XYZxyz(1.6767, 0.8464, 2.3601)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30022B #023007
analogous
#1E0230 #30022B #300214
triadic
#30022B #2B3002 #022B30
tetradic
#30022B #301E02 #023007 #021430
square
#30022B #301E02 #023007 #021430
split-complementary
#30022B #143002 #02301E
monochromatic
#1D011A #1D011A #30022B #6B0460 #A60794

Accessibility & contrast

On white

17.96
#30022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30022B
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30022B#FFFFFF#000000##FFFFFF
##30022B1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122C
Deuteranopia (green-blind)
#12192A
Tritanopia (blue-blind)
#330616
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30022b;
/* rgb */ color: rgb(48, 2, 43);
/* oklch */ color: oklch(21.6% 0.092 333.2);
Tailwind
colors: {
  custom: {
    50: '#6b4864',
    500: '#30022b',
    950: '#000000',
  },
}
SCSS
$custom: #30022b;
$custom-light: #6b4864;
$custom-dark: #000000;
JSON
{
  "hex": "#30022b",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 306.522,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21607,
    "c": 0.09163,
    "h": 333.2
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#30022B
secondary
#197523
accent
#FF4029
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #30022B

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

Preview Lab → · Contrast checker → · Palette generator →

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