#300C3C#300C3C

#300C3C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.092 H 316.4°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#300C3C
RGBrgb(48, 12, 60)
HSLhsl(285, 67%, 14%)
HSVhsv(285, 80%, 24%)
CMYKcmyk(20%, 80%, 0%, 76.5%)
CIE-LABlab(10.69, 26.72, -22.59)
CIE-LCHlch(10.69, 34.99, 319.79°)
OKLaboklab(24.18% 0.0666 -0.0635)
OKLCHoklch(24.18% 0.092 316.4)
XYZxyz(2.1659, 1.2177, 4.3950)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C3C #183C0C
analogous
#180C3C #300C3C #3C0C30
triadic
#300C3C #3C300C #0C3C30
tetradic
#300C3C #3C180C #183C0C #0C303C
square
#300C3C #3C180C #183C0C #0C303C
split-complementary
#300C3C #303C0C #0C3C18
monochromatic
#14051A #14051A #300C3C #59166F #8220A2

Accessibility & contrast

On white

16.89
#300C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#300C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300C3C
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C3C#FFFFFF#000000##FFFFFF
##300C3C1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#0C1E3B
Tritanopia (blue-blind)
#2F1623
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300c3c;
/* rgb */ color: rgb(48, 12, 60);
/* oklch */ color: oklch(24.2% 0.092 316.4);
Tailwind
colors: {
  custom: {
    50: '#6a4e72',
    500: '#300c3c',
    950: '#000000',
  },
}
SCSS
$custom: #300c3c;
$custom-light: #6a4e72;
$custom-dark: #000000;
JSON
{
  "hex": "#300c3c",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24178,
    "c": 0.09205,
    "h": 316.4
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#300C3C
secondary
#3F782C
accent
#EA3E69
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #300C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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