#300B33#300B33

#300B33 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.084 H 324.7°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#300B33
RGBrgb(48, 11, 51)
HSLhsl(296, 65%, 12%)
HSVhsv(296, 78%, 20%)
CMYKcmyk(5.9%, 78.4%, 0%, 80%)
CIE-LABlab(9.85, 25.12, -17.42)
CIE-LCHlch(9.85, 30.57, 325.26°)
OKLaboklab(23.37% 0.0683 -0.0484)
OKLCHoklch(23.37% 0.084 324.7)
XYZxyz(1.9361, 1.1069, 3.2430)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B33 #0E330B
analogous
#1C0B33 #300B33 #330B22
triadic
#300B33 #33300B #0B3330
tetradic
#300B33 #331C0B #0E330B #0B2233
square
#300B33 #331C0B #0E330B #0B2233
split-complementary
#300B33 #22330B #0B331C
monochromatic
#180519 #180519 #300B33 #5F1665 #8F2198

Accessibility & contrast

On white

17.19
#300B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#300B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300B33
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B33#FFFFFF#000000##FFFFFF
##300B331.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041834
Deuteranopia (green-blind)
#121D32
Tritanopia (blue-blind)
#31111D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300b33;
/* rgb */ color: rgb(48, 11, 51);
/* oklch */ color: oklch(23.4% 0.084 324.7);
Tailwind
colors: {
  custom: {
    50: '#6a4d6b',
    500: '#300b33',
    950: '#000000',
  },
}
SCSS
$custom: #300b33;
$custom-light: #6a4d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#300b33",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 295.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23368,
    "c": 0.08372,
    "h": 324.7
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#300B33
secondary
#2F702A
accent
#E8404D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300B33

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

Preview Lab → · Contrast checker → · Palette generator →

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