#300B2D#300B2D

#300B2D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.078 H 331.1°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#300B2D
RGBrgb(48, 11, 45)
HSLhsl(305, 63%, 12%)
HSVhsv(305, 77%, 19%)
CMYKcmyk(0%, 77.1%, 6.2%, 81.2%)
CIE-LABlab(9.46, 23.83, -13.63)
CIE-LCHlch(9.46, 27.45, 330.24°)
OKLaboklab(22.96% 0.0679 -0.0374)
OKLCHoklch(22.96% 0.078 331.1)
XYZxyz(1.8122, 1.0573, 2.5907)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B2D #0B300E
analogous
#210B30 #300B2D #300B1B
triadic
#300B2D #2D300B #0B2D30
tetradic
#300B2D #30210B #0B300E #0B1B30
square
#300B2D #30210B #0B300E #0B1B30
split-complementary
#300B2D #1B300B #0B3021
monochromatic
#190617 #190617 #300B2D #62165C #94228A

Accessibility & contrast

On white

17.34
#300B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B2D
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B2D#FFFFFF#000000##FFFFFF
##300B2D1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172E
Deuteranopia (green-blind)
#151C2C
Tritanopia (blue-blind)
#320F1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300b2d;
/* rgb */ color: rgb(48, 11, 45);
/* oklch */ color: oklch(23.0% 0.078 331.1);
Tailwind
colors: {
  custom: {
    50: '#6a4d66',
    500: '#300b2d',
    950: '#000000',
  },
}
SCSS
$custom: #300b2d;
$custom-light: #6a4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#300b2d",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 304.865,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22957,
    "c": 0.07753,
    "h": 331.1
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#300B2D
secondary
#2A6D30
accent
#E64F42
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #300B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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