#300C3A#300C3A

#300C3A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.090 H 318.0°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#300C3A
RGBrgb(48, 12, 58)
HSLhsl(287, 66%, 14%)
HSVhsv(287, 79%, 23%)
CMYKcmyk(17.2%, 79.3%, 0%, 77.3%)
CIE-LABlab(10.53, 26.24, -21.41)
CIE-LCHlch(10.53, 33.86, 320.79°)
OKLaboklab(24.02% 0.0668 -0.06)
OKLCHoklch(24.02% 0.09 318)
XYZxyz(2.1140, 1.1969, 4.1218)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C3A #163A0C
analogous
#190C3A #300C3A #3A0C2D
triadic
#300C3A #3A300C #0C3A30
tetradic
#300C3A #3A190C #163A0C #0C2D3A
square
#300C3A #3A190C #163A0C #0C2D3A
split-complementary
#300C3A #2D3A0C #0C3A19
monochromatic
#150519 #150519 #300C3A #5A166D #84219F

Accessibility & contrast

On white

16.94
#300C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C3A
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C3A#FFFFFF#000000##FFFFFF
##300C3A1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#0E1E39
Tritanopia (blue-blind)
#301521
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300c3a;
/* rgb */ color: rgb(48, 12, 58);
/* oklch */ color: oklch(24.0% 0.090 318.0);
Tailwind
colors: {
  custom: {
    50: '#6a4e70',
    500: '#300c3a',
    950: '#000000',
  },
}
SCSS
$custom: #300c3a;
$custom-light: #6a4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#300c3a",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 286.957,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2402,
    "c": 0.0898,
    "h": 318
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#300C3A
secondary
#3C762C
accent
#E93F64
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #300C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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