#30022C#30022C

#30022C is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.092 H 332.2°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#30022C
RGBrgb(48, 2, 44)
HSLhsl(305, 92%, 10%)
HSVhsv(305, 96%, 19%)
CMYKcmyk(0%, 95.8%, 8.3%, 81.2%)
CIE-LABlab(7.71, 28.43, -15.64)
CIE-LCHlch(7.71, 32.45, 331.18°)
OKLaboklab(21.68% 0.0818 -0.0431)
OKLCHoklch(21.68% 0.092 332.2)
XYZxyz(1.6953, 0.8538, 2.4579)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30022C #023006
analogous
#1D0230 #30022C #300215
triadic
#30022C #2C3002 #022C30
tetradic
#30022C #301D02 #023006 #021530
square
#30022C #301D02 #023006 #021530
split-complementary
#30022C #153002 #02301D
monochromatic
#1D011B #1D011B #30022C #6B0462 #A60798

Accessibility & contrast

On white

17.94
#30022C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30022C
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30022C#FFFFFF#000000##FFFFFF
##30022C1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132D
Deuteranopia (green-blind)
#11192B
Tritanopia (blue-blind)
#330616
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30022c;
/* rgb */ color: rgb(48, 2, 44);
/* oklch */ color: oklch(21.7% 0.092 332.2);
Tailwind
colors: {
  custom: {
    50: '#6b4865',
    500: '#30022c',
    950: '#000000',
  },
}
SCSS
$custom: #30022c;
$custom-light: #6b4865;
$custom-dark: #000000;
JSON
{
  "hex": "#30022c",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 44
  },
  "hsl": {
    "h": 305.217,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21679,
    "c": 0.09247,
    "h": 332.2
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#30022C
secondary
#197521
accent
#FF3B29
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #30022C

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

Preview Lab → · Contrast checker → · Palette generator →

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