#300C39#300C39

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

Color values

HEX#300C39
RGBrgb(48, 12, 57)
HSLhsl(288, 65%, 14%)
HSVhsv(288, 79%, 22%)
CMYKcmyk(15.8%, 78.9%, 0%, 77.6%)
CIE-LABlab(10.46, 26.00, -20.81)
CIE-LCHlch(10.46, 33.30, 321.33°)
OKLaboklab(23.94% 0.0669 -0.0583)
OKLCHoklch(23.94% 0.089 318.9)
XYZxyz(2.0888, 1.1868, 3.9892)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C39 #15390C
analogous
#190C39 #300C39 #390C2B
triadic
#300C39 #39300C #0C3930
tetradic
#300C39 #39190C #15390C #0C2B39
square
#300C39 #39190C #15390C #0C2B39
split-complementary
#300C39 #2B390C #0C3919
monochromatic
#150519 #150519 #300C39 #5B176C #85219E

Accessibility & contrast

On white

16.97
#300C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C39
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C39#FFFFFF#000000##FFFFFF
##300C391.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3A
Deuteranopia (green-blind)
#0F1E38
Tritanopia (blue-blind)
#301421
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300c39;
/* rgb */ color: rgb(48, 12, 57);
/* oklch */ color: oklch(23.9% 0.089 318.9);
Tailwind
colors: {
  custom: {
    50: '#6a4e6f',
    500: '#300c39',
    950: '#000000',
  },
}
SCSS
$custom: #300c39;
$custom-light: #6a4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#300c39",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 288,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23943,
    "c": 0.08869,
    "h": 318.9
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#300C39
secondary
#3A752C
accent
#E84061
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #300C39

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

Preview Lab → · Contrast checker → · Palette generator →

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