#300332#300332

#300332 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.096 H 326.3°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#300332
RGBrgb(48, 3, 50)
HSLhsl(297, 89%, 10%)
HSVhsv(297, 94%, 20%)
CMYKcmyk(4%, 94%, 0%, 80.4%)
CIE-LABlab(8.34, 29.03, -19.10)
CIE-LCHlch(8.34, 34.75, 326.66°)
OKLaboklab(22.27% 0.0798 -0.0532)
OKLCHoklch(22.27% 0.096 326.3)
XYZxyz(1.8272, 0.9239, 3.0991)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300332 #053203
analogous
#180332 #300332 #32031C
triadic
#300332 #323003 #033230
tetradic
#300332 #321803 #053203 #031C32
square
#300332 #321803 #053203 #031C32
split-complementary
#300332 #1C3203 #033218
monochromatic
#1C021D #1C021D #300332 #67066C #9F0AA5

Accessibility & contrast

On white

17.72
#300332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#300332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300332
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300332#FFFFFF#000000##FFFFFF
##3003321.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#0E1A31
Tritanopia (blue-blind)
#320B1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #300332;
/* rgb */ color: rgb(48, 3, 50);
/* oklch */ color: oklch(22.3% 0.096 326.3);
Tailwind
colors: {
  custom: {
    50: '#6b496a',
    500: '#300332',
    950: '#000000',
  },
}
SCSS
$custom: #300332;
$custom-light: #6b496a;
$custom-dark: #000000;
JSON
{
  "hex": "#300332",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 297.447,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22266,
    "c": 0.09588,
    "h": 326.3
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#300332
secondary
#1F751B
accent
#FF2932
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300332

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

Preview Lab → · Contrast checker → · Palette generator →

#300332 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva