#30032D#30032D

#30032D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.091 H 331.2°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#30032D
RGBrgb(48, 3, 45)
HSLhsl(304, 88%, 10%)
HSVhsv(304, 94%, 19%)
CMYKcmyk(0%, 93.8%, 6.2%, 81.2%)
CIE-LABlab(7.98, 28.05, -15.97)
CIE-LCHlch(7.98, 32.28, 330.35°)
OKLaboklab(21.89% 0.0801 -0.0441)
OKLCHoklch(21.89% 0.091 331.2)
XYZxyz(1.7251, 0.8831, 2.5617)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30032D #033006
analogous
#1C0330 #30032D #300317
triadic
#30032D #2D3003 #032D30
tetradic
#30032D #301C03 #033006 #031730
square
#30032D #301C03 #033006 #031730
split-complementary
#30032D #173003 #03301C
monochromatic
#1D021B #1D021B #30032D #6A0763 #A30A99

Accessibility & contrast

On white

17.85
#30032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#30032D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30032D
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30032D#FFFFFF#000000##FFFFFF
##30032D1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#111A2C
Tritanopia (blue-blind)
#320817
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30032d;
/* rgb */ color: rgb(48, 3, 45);
/* oklch */ color: oklch(21.9% 0.091 331.2);
Tailwind
colors: {
  custom: {
    50: '#6b4966',
    500: '#30032d',
    950: '#000000',
  },
}
SCSS
$custom: #30032d;
$custom-light: #6b4966;
$custom-dark: #000000;
JSON
{
  "hex": "#30032d",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 304,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.21892,
    "c": 0.09142,
    "h": 331.2
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#30032D
secondary
#1B7321
accent
#FE3829
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30032D

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

Preview Lab → · Contrast checker → · Palette generator →

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