#30032B#30032B

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

Color values

HEX#30032B
RGBrgb(48, 3, 43)
HSLhsl(307, 88%, 10%)
HSVhsv(307, 94%, 19%)
CMYKcmyk(0%, 93.8%, 10.4%, 81.2%)
CIE-LABlab(7.84, 27.67, -14.69)
CIE-LCHlch(7.84, 31.33, 332.05°)
OKLaboklab(21.75% 0.0801 -0.0404)
OKLCHoklch(21.75% 0.09 333.2)
XYZxyz(1.6875, 0.8681, 2.3637)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30032B #033008
analogous
#1F0330 #30032B #300314
triadic
#30032B #2B3003 #032B30
tetradic
#30032B #301F03 #033008 #031430
square
#30032B #301F03 #033008 #031430
split-complementary
#30032B #143003 #03301F
monochromatic
#1D021A #1D021A #30032B #6A075F #A30A92

Accessibility & contrast

On white

17.89
#30032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30032B
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30032B#FFFFFF#000000##FFFFFF
##30032B1.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)
#02132C
Deuteranopia (green-blind)
#121A2A
Tritanopia (blue-blind)
#330716
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30032b;
/* rgb */ color: rgb(48, 3, 43);
/* oklch */ color: oklch(21.8% 0.090 333.2);
Tailwind
colors: {
  custom: {
    50: '#6b4964',
    500: '#30032b',
    950: '#000000',
  },
}
SCSS
$custom: #30032b;
$custom-light: #6b4964;
$custom-dark: #000000;
JSON
{
  "hex": "#30032b",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 306.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.2175,
    "c": 0.08969,
    "h": 333.2
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#30032B
secondary
#1B7325
accent
#FE4129
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #30032B

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

Preview Lab → · Contrast checker → · Palette generator →

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