#30032A#30032A

#30032A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.089 H 334.3°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#30032A
RGBrgb(48, 3, 42)
HSLhsl(308, 88%, 10%)
HSVhsv(308, 94%, 19%)
CMYKcmyk(0%, 93.8%, 12.5%, 81.2%)
CIE-LABlab(7.78, 27.49, -14.04)
CIE-LCHlch(7.78, 30.87, 332.95°)
OKLaboklab(21.68% 0.0801 -0.0385)
OKLCHoklch(21.68% 0.089 334.3)
XYZxyz(1.6694, 0.8608, 2.2683)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30032A #033009
analogous
#1F0330 #30032A #300314
triadic
#30032A #2A3003 #032A30
tetradic
#30032A #301F03 #033009 #031430
square
#30032A #301F03 #033009 #031430
split-complementary
#30032A #143003 #03301F
monochromatic
#1D0219 #1D0219 #30032A #6A075C #A30A8F

Accessibility & contrast

On white

17.92
#30032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30032A
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30032A#FFFFFF#000000##FFFFFF
##30032A1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132B
Deuteranopia (green-blind)
#131929
Tritanopia (blue-blind)
#330616
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30032a;
/* rgb */ color: rgb(48, 3, 42);
/* oklch */ color: oklch(21.7% 0.089 334.3);
Tailwind
colors: {
  custom: {
    50: '#6b4963',
    500: '#30032a',
    950: '#000000',
  },
}
SCSS
$custom: #30032a;
$custom-light: #6b4963;
$custom-dark: #000000;
JSON
{
  "hex": "#30032a",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 308,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.21681,
    "c": 0.08884,
    "h": 334.3
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#30032A
secondary
#1B7327
accent
#FE4629
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #30032A

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

Preview Lab → · Contrast checker → · Palette generator →

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