#30022F#30022F

#30022F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.095 H 329.2°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#30022F
RGBrgb(48, 2, 47)
HSLhsl(301, 92%, 10%)
HSVhsv(301, 96%, 19%)
CMYKcmyk(0%, 95.8%, 2.1%, 81.2%)
CIE-LABlab(7.92, 29.00, -17.54)
CIE-LCHlch(7.92, 33.90, 328.83°)
OKLaboklab(21.9% 0.0817 -0.0486)
OKLCHoklch(21.9% 0.095 329.2)
XYZxyz(1.7537, 0.8772, 2.7657)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30022F #023003
analogous
#1A0230 #30022F #300218
triadic
#30022F #2F3002 #022F30
tetradic
#30022F #301A02 #023003 #021830
square
#30022F #301A02 #023003 #021830
split-complementary
#30022F #183002 #02301A
monochromatic
#1D011D #1D011D #30022F #6B0469 #A607A2

Accessibility & contrast

On white

17.87
#30022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#30022F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30022F
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30022F#FFFFFF#000000##FFFFFF
##30022F1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#0F1A2E
Tritanopia (blue-blind)
#320818
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30022f;
/* rgb */ color: rgb(48, 2, 47);
/* oklch */ color: oklch(21.9% 0.095 329.2);
Tailwind
colors: {
  custom: {
    50: '#6b4868',
    500: '#30022f',
    950: '#000000',
  },
}
SCSS
$custom: #30022f;
$custom-light: #6b4868;
$custom-dark: #000000;
JSON
{
  "hex": "#30022f",
  "rgb": {
    "r": 48,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 301.304,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21899,
    "c": 0.09504,
    "h": 329.2
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30022F

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

Preview Lab → · Contrast checker → · Palette generator →

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