#300B41#300B41

#300B41 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.5% C 0.099 H 312.7°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#300B41
RGBrgb(48, 11, 65)
HSLhsl(281, 71%, 15%)
HSVhsv(281, 83%, 25%)
CMYKcmyk(26.2%, 83.1%, 0%, 74.5%)
CIE-LABlab(10.92, 28.45, -25.78)
CIE-LCHlch(10.92, 38.39, 317.81°)
OKLaboklab(24.47% 0.0672 -0.0729)
OKLCHoklch(24.47% 0.099 312.7)
XYZxyz(2.2926, 1.2494, 5.1204)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B41 #1C410B
analogous
#150B41 #300B41 #410B37
triadic
#300B41 #41300B #0B4130
tetradic
#300B41 #41150B #1C410B #0B3741
square
#300B41 #41150B #1C410B #0B3741
split-complementary
#300B41 #37410B #0B4115
monochromatic
#13041A #13041A #300B41 #571475 #7D1DAA

Accessibility & contrast

On white

16.80
#300B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B41
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B41#FFFFFF#000000##FFFFFF
##300B411.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#061E40
Tritanopia (blue-blind)
#2E1725
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300b41;
/* rgb */ color: rgb(48, 11, 65);
/* oklch */ color: oklch(24.5% 0.099 312.7);
Tailwind
colors: {
  custom: {
    50: '#6b4e76',
    500: '#300b41',
    950: '#000000',
  },
}
SCSS
$custom: #300b41;
$custom-light: #6b4e76;
$custom-dark: #000000;
JSON
{
  "hex": "#300b41",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 281.111,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2447,
    "c": 0.0991,
    "h": 312.7
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#300B41
secondary
#447E2A
accent
#EE3A73
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300B41

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

Preview Lab → · Contrast checker → · Palette generator →

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