#300832#300832

#300832 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.087 H 325.9°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#300832
RGBrgb(48, 8, 50)
HSLhsl(297, 72%, 11%)
HSVhsv(297, 84%, 20%)
CMYKcmyk(4%, 84%, 0%, 80.4%)
CIE-LABlab(9.26, 26.38, -17.63)
CIE-LCHlch(9.26, 31.73, 326.24°)
OKLaboklab(22.92% 0.0724 -0.049)
OKLCHoklch(22.92% 0.087 325.9)
XYZxyz(1.8814, 1.0325, 3.1172)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300832 #0A3208
analogous
#1B0832 #300832 #32081F
triadic
#300832 #323008 #083230
tetradic
#300832 #321B08 #0A3208 #081F32
square
#300832 #321B08 #0A3208 #081F32
split-complementary
#300832 #1F3208 #08321B
monochromatic
#19041A #19041A #300832 #631067 #95199C

Accessibility & contrast

On white

17.41
#300832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#300832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300832
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300832#FFFFFF#000000##FFFFFF
##3008321.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021733
Deuteranopia (green-blind)
#111C31
Tritanopia (blue-blind)
#310F1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300832;
/* rgb */ color: rgb(48, 8, 50);
/* oklch */ color: oklch(22.9% 0.087 325.9);
Tailwind
colors: {
  custom: {
    50: '#6a4c6a',
    500: '#300832',
    950: '#000000',
  },
}
SCSS
$custom: #300832;
$custom-light: #6a4c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#300832",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 297.143,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22919,
    "c": 0.08741,
    "h": 325.9
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#300832
secondary
#297125
accent
#EF3941
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300832

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

Preview Lab → · Contrast checker → · Palette generator →

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