#300A2C#300A2C

#300A2C is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.078 H 332.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#300A2C
RGBrgb(48, 10, 44)
HSLhsl(306, 66%, 11%)
HSVhsv(306, 79%, 19%)
CMYKcmyk(0%, 79.2%, 8.3%, 81.2%)
CIE-LABlab(9.22, 24.13, -13.27)
CIE-LCHlch(9.22, 27.54, 331.20°)
OKLaboklab(22.76% 0.0692 -0.0364)
OKLCHoklch(22.76% 0.078 332.3)
XYZxyz(1.7821, 1.0274, 2.4868)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A2C #0A300E
analogous
#210A30 #300A2C #300A19
triadic
#300A2C #2C300A #0A2C30
tetradic
#300A2C #30210A #0A300E #0A1930
square
#300A2C #30210A #0A300E #0A1930
split-complementary
#300A2C #19300A #0A3021
monochromatic
#190517 #190517 #300A2C #63155A #951F89

Accessibility & contrast

On white

17.42
#300A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#300A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A2C
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A2C#FFFFFF#000000##FFFFFF
##300A2C1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162D
Deuteranopia (green-blind)
#151C2B
Tritanopia (blue-blind)
#320E19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300a2c;
/* rgb */ color: rgb(48, 10, 44);
/* oklch */ color: oklch(22.8% 0.078 332.3);
Tailwind
colors: {
  custom: {
    50: '#6a4d65',
    500: '#300a2c',
    950: '#000000',
  },
}
SCSS
$custom: #300a2c;
$custom-light: #6a4d65;
$custom-dark: #000000;
JSON
{
  "hex": "#300a2c",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 44
  },
  "hsl": {
    "h": 306.316,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22762,
    "c": 0.07821,
    "h": 332.3
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#300A2C
secondary
#296D30
accent
#E8513F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #300A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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