#300B2A#300B2A

#300B2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.075 H 334.7°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#300B2A
RGBrgb(48, 11, 42)
HSLhsl(310, 63%, 12%)
HSVhsv(310, 77%, 19%)
CMYKcmyk(0%, 77.1%, 12.5%, 81.2%)
CIE-LABlab(9.28, 23.23, -11.68)
CIE-LCHlch(9.28, 26.00, 333.31°)
OKLaboklab(22.77% 0.0675 -0.0318)
OKLCHoklch(22.77% 0.075 334.7)
XYZxyz(1.7565, 1.0350, 2.2973)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B2A #0B3011
analogous
#240B30 #300B2A #300B18
triadic
#300B2A #2A300B #0B2A30
tetradic
#300B2A #30240B #0B3011 #0B1830
square
#300B2A #30240B #0B3011 #0B1830
split-complementary
#300B2A #18300B #0B3024
monochromatic
#190616 #190616 #300B2A #621656 #942281

Accessibility & contrast

On white

17.40
#300B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#300B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300B2A
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B2A#FFFFFF#000000##FFFFFF
##300B2A1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172B
Deuteranopia (green-blind)
#171C29
Tritanopia (blue-blind)
#330E19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300b2a;
/* rgb */ color: rgb(48, 11, 42);
/* oklch */ color: oklch(22.8% 0.075 334.7);
Tailwind
colors: {
  custom: {
    50: '#6a4d63',
    500: '#300b2a',
    950: '#000000',
  },
}
SCSS
$custom: #300b2a;
$custom-light: #6a4d63;
$custom-dark: #000000;
JSON
{
  "hex": "#300b2a",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 309.73,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22768,
    "c": 0.07461,
    "h": 334.7
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#300B2A
secondary
#2A6D35
accent
#E65D42
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #300B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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