#300C41#300C41

#300C41 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.098 H 312.5°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#300C41
RGBrgb(48, 12, 65)
HSLhsl(281, 69%, 15%)
HSVhsv(281, 82%, 25%)
CMYKcmyk(26.2%, 81.5%, 0%, 74.5%)
CIE-LABlab(11.09, 27.97, -25.51)
CIE-LCHlch(11.09, 37.85, 317.63°)
OKLaboklab(24.59% 0.066 -0.0721)
OKLCHoklch(24.59% 0.098 312.5)
XYZxyz(2.3044, 1.2730, 5.1243)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C41 #1D410C
analogous
#160C41 #300C41 #410C37
triadic
#300C41 #41300C #0C4130
tetradic
#300C41 #41160C #1D410C #0C3741
square
#300C41 #41160C #1D410C #0C3741
split-complementary
#300C41 #37410C #0C4116
monochromatic
#13051A #13051A #300C41 #561675 #7C1FA8

Accessibility & contrast

On white

16.74
#300C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#300C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300C41
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C41#FFFFFF#000000##FFFFFF
##300C411.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#061E40
Tritanopia (blue-blind)
#2E1825
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300c41;
/* rgb */ color: rgb(48, 12, 65);
/* oklch */ color: oklch(24.6% 0.098 312.5);
Tailwind
colors: {
  custom: {
    50: '#6b4f76',
    500: '#300c41',
    950: '#000000',
  },
}
SCSS
$custom: #300c41;
$custom-light: #6b4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#300c41",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 280.755,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24589,
    "c": 0.09772,
    "h": 312.5
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#300C41
secondary
#467D2C
accent
#EC3C74
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300C41

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

Preview Lab → · Contrast checker → · Palette generator →

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