#300A32#300A32

#300A32 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.084 H 325.8°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#300A32
RGBrgb(48, 10, 50)
HSLhsl(297, 67%, 12%)
HSVhsv(297, 80%, 20%)
CMYKcmyk(4%, 80%, 0%, 80.4%)
CIE-LABlab(9.61, 25.39, -17.08)
CIE-LCHlch(9.61, 30.60, 326.08°)
OKLaboklab(23.17% 0.0697 -0.0474)
OKLCHoklch(23.17% 0.084 325.8)
XYZxyz(1.9031, 1.0759, 3.1244)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A32 #0C320A
analogous
#1C0A32 #300A32 #320A20
triadic
#300A32 #32300A #0A3230
tetradic
#300A32 #321C0A #0C320A #0A2032
square
#300A32 #321C0A #0C320A #0A2032
split-complementary
#300A32 #20320A #0A321C
monochromatic
#18051A #18051A #300A32 #611465 #921E98

Accessibility & contrast

On white

17.28
#300A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#300A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A32
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A32#FFFFFF#000000##FFFFFF
##300A321.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041833
Deuteranopia (green-blind)
#121C31
Tritanopia (blue-blind)
#31101C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300a32;
/* rgb */ color: rgb(48, 10, 50);
/* oklch */ color: oklch(23.2% 0.084 325.8);
Tailwind
colors: {
  custom: {
    50: '#6a4d6a',
    500: '#300a32',
    950: '#000000',
  },
}
SCSS
$custom: #300a32;
$custom-light: #6a4d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#300a32",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 50
  },
  "hsl": {
    "h": 297,
    "s": 66.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2317,
    "c": 0.08424,
    "h": 325.8
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#300A32
secondary
#2C6F28
accent
#EA3E47
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300A32

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

Preview Lab → · Contrast checker → · Palette generator →

#300A32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva