#300B2B#300B2B

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

Color values

HEX#300B2B
RGBrgb(48, 11, 43)
HSLhsl(308, 63%, 12%)
HSVhsv(308, 77%, 19%)
CMYKcmyk(0%, 77.1%, 10.4%, 81.2%)
CIE-LABlab(9.34, 23.43, -12.33)
CIE-LCHlch(9.34, 26.47, 332.24°)
OKLaboklab(22.83% 0.0676 -0.0337)
OKLCHoklch(22.83% 0.076 333.5)
XYZxyz(1.7746, 1.0423, 2.3927)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B2B #0B3010
analogous
#230B30 #300B2B #300B19
triadic
#300B2B #2B300B #0B2B30
tetradic
#300B2B #30230B #0B3010 #0B1930
square
#300B2B #30230B #0B3010 #0B1930
split-complementary
#300B2B #19300B #0B3023
monochromatic
#190616 #190616 #300B2B #621658 #942284

Accessibility & contrast

On white

17.38
#300B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B2B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B2B#FFFFFF#000000##FFFFFF
##300B2B1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172C
Deuteranopia (green-blind)
#161C2A
Tritanopia (blue-blind)
#330E19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300b2b;
/* rgb */ color: rgb(48, 11, 43);
/* oklch */ color: oklch(22.8% 0.076 333.5);
Tailwind
colors: {
  custom: {
    50: '#6a4d64',
    500: '#300b2b',
    950: '#000000',
  },
}
SCSS
$custom: #300b2b;
$custom-light: #6a4d64;
$custom-dark: #000000;
JSON
{
  "hex": "#300b2b",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 43
  },
  "hsl": {
    "h": 308.108,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2283,
    "c": 0.07556,
    "h": 333.5
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#300B2B
secondary
#2A6D33
accent
#E65842
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #300B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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