#300C2B#300C2B

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

Color values

HEX#300C2B
RGBrgb(48, 12, 43)
HSLhsl(308, 60%, 12%)
HSVhsv(308, 75%, 19%)
CMYKcmyk(0%, 75%, 10.4%, 81.2%)
CIE-LABlab(9.53, 22.90, -12.04)
CIE-LCHlch(9.53, 25.87, 332.28°)
OKLaboklab(22.97% 0.0661 -0.0329)
OKLCHoklch(22.97% 0.074 333.6)
XYZxyz(1.7864, 1.0659, 2.3967)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C2B #0C3011
analogous
#230C30 #300C2B #300C19
triadic
#300C2B #2B300C #0C2B30
tetradic
#300C2B #30230C #0C3011 #0C1930
square
#300C2B #30230C #0C3011 #0C1930
split-complementary
#300C2B #19300C #0C3023
monochromatic
#180616 #180616 #300C2B #611857 #922483

Accessibility & contrast

On white

17.31
#300C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C2B
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C2B#FFFFFF#000000##FFFFFF
##300C2B1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172C
Deuteranopia (green-blind)
#171C2A
Tritanopia (blue-blind)
#330F1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300c2b;
/* rgb */ color: rgb(48, 12, 43);
/* oklch */ color: oklch(23.0% 0.074 333.6);
Tailwind
colors: {
  custom: {
    50: '#6a4e64',
    500: '#300c2b',
    950: '#000000',
  },
}
SCSS
$custom: #300c2b;
$custom-light: #6a4e64;
$custom-dark: #000000;
JSON
{
  "hex": "#300c2b",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 308.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22968,
    "c": 0.07382,
    "h": 333.6
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

primary
#300C2B
secondary
#2C6C35
accent
#E35B45
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #300C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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