#300B39#300B39

#300B39 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.090 H 319.1°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#300B39
RGBrgb(48, 11, 57)
HSLhsl(288, 68%, 13%)
HSVhsv(288, 81%, 22%)
CMYKcmyk(15.8%, 80.7%, 0%, 77.6%)
CIE-LABlab(10.28, 26.50, -21.09)
CIE-LCHlch(10.28, 33.87, 321.49°)
OKLaboklab(23.82% 0.0682 -0.0591)
OKLCHoklch(23.82% 0.09 319.1)
XYZxyz(2.0770, 1.1632, 3.9852)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B39 #14390B
analogous
#190B39 #300B39 #390B2B
triadic
#300B39 #39300B #0B3930
tetradic
#300B39 #39190B #14390B #0B2B39
square
#300B39 #39190B #14390B #0B2B39
split-complementary
#300B39 #2B390B #0B3919
monochromatic
#16051A #16051A #300B39 #5B156C #861FA0

Accessibility & contrast

On white

17.04
#300B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300B39
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B39#FFFFFF#000000##FFFFFF
##300B391.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300b39;
/* rgb */ color: rgb(48, 11, 57);
/* oklch */ color: oklch(23.8% 0.090 319.1);
Tailwind
colors: {
  custom: {
    50: '#6a4e70',
    500: '#300b39',
    950: '#000000',
  },
}
SCSS
$custom: #300b39;
$custom-light: #6a4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#300b39",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 288.261,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23816,
    "c": 0.09021,
    "h": 319.1
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#300B39
secondary
#39762A
accent
#EB3D5F
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #300B39

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

Preview Lab → · Contrast checker → · Palette generator →

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