#30022E#30022E

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

Color values

HEX#30022E
RGBrgb(48, 2, 46)
HSLhsl(303, 92%, 10%)
HSVhsv(303, 96%, 19%)
CMYKcmyk(0%, 95.8%, 4.2%, 81.2%)
CIE-LABlab(7.85, 28.81, -16.91)
CIE-LCHlch(7.85, 33.41, 329.59°)
OKLaboklab(21.83% 0.0817 -0.0468)
OKLCHoklch(21.83% 0.094 330.2)
XYZxyz(1.7338, 0.8692, 2.6607)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30022E #023004
analogous
#1B0230 #30022E #300217
triadic
#30022E #2E3002 #022E30
tetradic
#30022E #301B02 #023004 #021730
square
#30022E #301B02 #023004 #021730
split-complementary
#30022E #173002 #02301B
monochromatic
#1D011C #1D011C #30022E #6B0466 #A6079F

Accessibility & contrast

On white

17.89
#30022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30022E
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30022E#FFFFFF#000000##FFFFFF
##30022E1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#10192D
Tritanopia (blue-blind)
#320818
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30022e;
/* rgb */ color: rgb(48, 2, 46);
/* oklch */ color: oklch(21.8% 0.094 330.2);
Tailwind
colors: {
  custom: {
    50: '#6b4867',
    500: '#30022e',
    950: '#000000',
  },
}
SCSS
$custom: #30022e;
$custom-light: #6b4867;
$custom-dark: #000000;
JSON
{
  "hex": "#30022e",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 302.609,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21825,
    "c": 0.09418,
    "h": 330.2
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30022E

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

Preview Lab → · Contrast checker → · Palette generator →

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