#300C30#300C30

#300C30 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.079 H 327.7°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#300C30
RGBrgb(48, 12, 48)
HSLhsl(300, 60%, 12%)
HSVhsv(300, 75%, 19%)
CMYKcmyk(0%, 75%, 0%, 81.2%)
CIE-LABlab(9.84, 23.95, -15.25)
CIE-LCHlch(9.84, 28.40, 327.52°)
OKLaboklab(23.29% 0.0667 -0.0421)
OKLCHoklch(23.29% 0.079 327.7)
XYZxyz(1.8839, 1.1048, 2.9098)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C30 #0C300C
analogous
#1E0C30 #300C30 #300C1E
triadic
#300C30 #30300C #0C3030
tetradic
#300C30 #301E0C #0C300C #0C1E30
square
#300C30 #301E0C #0C300C #0C1E30
split-complementary
#300C30 #1E300C #0C301E
monochromatic
#180618 #180618 #300C30 #611861 #922492

Accessibility & contrast

On white

17.20
#300C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C30
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C30#FFFFFF#000000##FFFFFF
##300C301.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081831
Deuteranopia (green-blind)
#151D2F
Tritanopia (blue-blind)
#32111C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300c30;
/* rgb */ color: rgb(48, 12, 48);
/* oklch */ color: oklch(23.3% 0.079 327.7);
Tailwind
colors: {
  custom: {
    50: '#6a4e68',
    500: '#300c30',
    950: '#000000',
  },
}
SCSS
$custom: #300c30;
$custom-light: #6a4e68;
$custom-dark: #000000;
JSON
{
  "hex": "#300c30",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 300,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23292,
    "c": 0.0789,
    "h": 327.7
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#300C30
secondary
#2C6C2C
accent
#E34545
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #300C30

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

Preview Lab → · Contrast checker → · Palette generator →

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