#300D41#300D41

#300D41 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.096 H 312.3°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#300D41
RGBrgb(48, 13, 65)
HSLhsl(280, 67%, 15%)
HSVhsv(280, 80%, 25%)
CMYKcmyk(26.2%, 80%, 0%, 74.5%)
CIE-LABlab(11.26, 27.47, -25.23)
CIE-LCHlch(11.26, 37.30, 317.44°)
OKLaboklab(24.71% 0.0648 -0.0712)
OKLCHoklch(24.71% 0.096 312.3)
XYZxyz(2.3168, 1.2979, 5.1285)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D41 #1E410D
analogous
#160D41 #300D41 #410D38
triadic
#300D41 #41300D #0D4130
tetradic
#300D41 #41160D #1E410D #0D3841
square
#300D41 #41160D #1E410D #0D3841
split-complementary
#300D41 #38410D #0D4116
monochromatic
#13051A #13051A #300D41 #561774 #7B21A7

Accessibility & contrast

On white

16.67
#300D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#300D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300D41
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D41#FFFFFF#000000##FFFFFF
##300D411.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#071F40
Tritanopia (blue-blind)
#2E1826
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300d41;
/* rgb */ color: rgb(48, 13, 65);
/* oklch */ color: oklch(24.7% 0.096 312.3);
Tailwind
colors: {
  custom: {
    50: '#6b4f76',
    500: '#300d41',
    950: '#000000',
  },
}
SCSS
$custom: #300d41;
$custom-light: #6b4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#300d41",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 280.385,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24714,
    "c": 0.09628,
    "h": 312.3
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#300D41
secondary
#477D2D
accent
#EA3E76
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300D41

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

Preview Lab → · Contrast checker → · Palette generator →

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