#300B42#300B42

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

Color values

HEX#300B42
RGBrgb(48, 11, 66)
HSLhsl(280, 71%, 15%)
HSVhsv(280, 83%, 26%)
CMYKcmyk(27.3%, 83.3%, 0%, 74.1%)
CIE-LABlab(11.00, 28.69, -26.35)
CIE-LCHlch(11.00, 38.96, 317.44°)
OKLaboklab(24.56% 0.067 -0.0745)
OKLCHoklch(24.56% 0.1 311.9)
XYZxyz(2.3218, 1.2611, 5.2743)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B42 #1D420B
analogous
#150B42 #300B42 #420B38
triadic
#300B42 #42300B #0B4230
tetradic
#300B42 #42150B #1D420B #0B3842
square
#300B42 #42150B #1D420B #0B3842
split-complementary
#300B42 #38420B #0B4215
monochromatic
#13041A #13041A #300B42 #561476 #7C1CAB

Accessibility & contrast

On white

16.77
#300B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B42
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B42#FFFFFF#000000##FFFFFF
##300B421.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#041E41
Tritanopia (blue-blind)
#2E1726
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300b42;
/* rgb */ color: rgb(48, 11, 66);
/* oklch */ color: oklch(24.6% 0.100 311.9);
Tailwind
colors: {
  custom: {
    50: '#6b4e77',
    500: '#300b42',
    950: '#000000',
  },
}
SCSS
$custom: #300b42;
$custom-light: #6b4e77;
$custom-dark: #000000;
JSON
{
  "hex": "#300b42",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 280.364,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24556,
    "c": 0.10022,
    "h": 311.9
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#300B42
secondary
#467F2A
accent
#EE3A75
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300B42

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

Preview Lab → · Contrast checker → · Palette generator →

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