#300B2C#300B2C

#300B2C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.077 H 332.3°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#300B2C
RGBrgb(48, 11, 44)
HSLhsl(306, 63%, 12%)
HSVhsv(306, 77%, 19%)
CMYKcmyk(0%, 77.1%, 8.3%, 81.2%)
CIE-LABlab(9.40, 23.63, -12.98)
CIE-LCHlch(9.40, 26.96, 331.21°)
OKLaboklab(22.89% 0.0678 -0.0356)
OKLCHoklch(22.89% 0.077 332.3)
XYZxyz(1.7932, 1.0497, 2.4906)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B2C #0B300F
analogous
#220B30 #300B2C #300B1A
triadic
#300B2C #2C300B #0B2C30
tetradic
#300B2C #30220B #0B300F #0B1A30
square
#300B2C #30220B #0B300F #0B1A30
split-complementary
#300B2C #1A300B #0B3022
monochromatic
#190617 #190617 #300B2C #62165A #942287

Accessibility & contrast

On white

17.36
#300B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B2C
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B2C#FFFFFF#000000##FFFFFF
##300B2C1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172D
Deuteranopia (green-blind)
#161C2B
Tritanopia (blue-blind)
#320E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300b2c;
/* rgb */ color: rgb(48, 11, 44);
/* oklch */ color: oklch(22.9% 0.077 332.3);
Tailwind
colors: {
  custom: {
    50: '#6a4d65',
    500: '#300b2c',
    950: '#000000',
  },
}
SCSS
$custom: #300b2c;
$custom-light: #6a4d65;
$custom-dark: #000000;
JSON
{
  "hex": "#300b2c",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 306.486,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22893,
    "c": 0.07654,
    "h": 332.3
  },
  "luminance": 0.0105
}

Semantic roles & 50–950 ramp

primary
#300B2C
secondary
#2A6D31
accent
#E65442
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #300B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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