#300A3C#300A3C

#300A3C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.095 H 316.7°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#300A3C
RGBrgb(48, 10, 60)
HSLhsl(286, 71%, 14%)
HSVhsv(286, 83%, 24%)
CMYKcmyk(20%, 83.3%, 0%, 76.5%)
CIE-LABlab(10.35, 27.69, -23.14)
CIE-LCHlch(10.35, 36.08, 320.11°)
OKLaboklab(23.94% 0.0691 -0.0651)
OKLCHoklch(23.94% 0.095 316.7)
XYZxyz(2.1430, 1.1718, 4.3874)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A3C #163C0A
analogous
#170A3C #300A3C #3C0A2F
triadic
#300A3C #3C300A #0A3C30
tetradic
#300A3C #3C170A #163C0A #0A2F3C
square
#300A3C #3C170A #163C0A #0A2F3C
split-complementary
#300A3C #2F3C0A #0A3C17
monochromatic
#15041A #15041A #300A3C #5A1370 #841BA5

Accessibility & contrast

On white

17.01
#300A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A3C
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A3C#FFFFFF#000000##FFFFFF
##300A3C1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#0A1D3B
Tritanopia (blue-blind)
#2F1422
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300a3c;
/* rgb */ color: rgb(48, 10, 60);
/* oklch */ color: oklch(23.9% 0.095 316.7);
Tailwind
colors: {
  custom: {
    50: '#6b4d72',
    500: '#300a3c',
    950: '#000000',
  },
}
SCSS
$custom: #300a3c;
$custom-light: #6b4d72;
$custom-dark: #000000;
JSON
{
  "hex": "#300a3c",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 285.6,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23936,
    "c": 0.09493,
    "h": 316.7
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#300A3C
secondary
#3C7928
accent
#EE3A65
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #300A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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