#300532#300532

#300532 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.092 H 326.1°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#300532
RGBrgb(48, 5, 50)
HSLhsl(297, 82%, 11%)
HSVhsv(297, 90%, 20%)
CMYKcmyk(4%, 90%, 0%, 80.4%)
CIE-LABlab(8.72, 27.94, -18.50)
CIE-LCHlch(8.72, 33.51, 326.49°)
OKLaboklab(22.53% 0.0767 -0.0515)
OKLCHoklch(22.53% 0.092 326.1)
XYZxyz(1.8489, 0.9673, 3.1063)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300532 #073205
analogous
#190532 #300532 #32051D
triadic
#300532 #323005 #053230
tetradic
#300532 #321905 #073205 #051D32
square
#300532 #321905 #073205 #051D32
split-complementary
#300532 #1D3205 #053219
monochromatic
#1B031C #1B031C #300532 #650B6A #9B10A1

Accessibility & contrast

On white

17.60
#300532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#300532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300532
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300532#FFFFFF#000000##FFFFFF
##3005321.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#0F1B31
Tritanopia (blue-blind)
#310C1B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #300532;
/* rgb */ color: rgb(48, 5, 50);
/* oklch */ color: oklch(22.5% 0.092 326.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a6a',
    500: '#300532',
    950: '#000000',
  },
}
SCSS
$custom: #300532;
$custom-light: #6a4a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#300532",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 297.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22532,
    "c": 0.09239,
    "h": 326.1
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#300532
secondary
#23731F
accent
#F83039
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300532

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

Preview Lab → · Contrast checker → · Palette generator →

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