#300B3A#300B3A

#300B3A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.091 H 318.2°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#300B3A
RGBrgb(48, 11, 58)
HSLhsl(287, 68%, 14%)
HSVhsv(287, 81%, 23%)
CMYKcmyk(17.2%, 81%, 0%, 77.3%)
CIE-LABlab(10.36, 26.73, -21.69)
CIE-LCHlch(10.36, 34.42, 320.95°)
OKLaboklab(23.9% 0.0681 -0.0608)
OKLCHoklch(23.9% 0.091 318.2)
XYZxyz(2.1022, 1.1733, 4.1179)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B3A #153A0B
analogous
#180B3A #300B3A #3A0B2C
triadic
#300B3A #3A300B #0B3A30
tetradic
#300B3A #3A180B #153A0B #0B2C3A
square
#300B3A #3A180B #153A0B #0B2C3A
split-complementary
#300B3A #2C3A0B #0B3A18
monochromatic
#15051A #15051A #300B3A #5B156D #851FA1

Accessibility & contrast

On white

17.01
#300B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B3A
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B3A#FFFFFF#000000##FFFFFF
##300B3A1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300b3a;
/* rgb */ color: rgb(48, 11, 58);
/* oklch */ color: oklch(23.9% 0.091 318.2);
Tailwind
colors: {
  custom: {
    50: '#6a4e70',
    500: '#300b3a',
    950: '#000000',
  },
}
SCSS
$custom: #300b3a;
$custom-light: #6a4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#300b3a",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 287.234,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23895,
    "c": 0.09131,
    "h": 318.2
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#300B3A
secondary
#3A772A
accent
#EB3D62
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #300B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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