#300C2C#300C2C

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

Color values

HEX#300C2C
RGBrgb(48, 12, 44)
HSLhsl(307, 60%, 12%)
HSVhsv(307, 75%, 19%)
CMYKcmyk(0%, 75%, 8.3%, 81.2%)
CIE-LABlab(9.59, 23.11, -12.69)
CIE-LCHlch(9.59, 26.36, 331.23°)
OKLaboklab(23.03% 0.0663 -0.0347)
OKLCHoklch(23.03% 0.075 332.3)
XYZxyz(1.8050, 1.0733, 2.4945)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C2C #0C3010
analogous
#220C30 #300C2C #300C1A
triadic
#300C2C #2C300C #0C2C30
tetradic
#300C2C #30220C #0C3010 #0C1A30
square
#300C2C #30220C #0C3010 #0C1A30
split-complementary
#300C2C #1A300C #0C3022
monochromatic
#180616 #180616 #300C2C #611859 #922486

Accessibility & contrast

On white

17.29
#300C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C2C
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C2C#FFFFFF#000000##FFFFFF
##300C2C1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172D
Deuteranopia (green-blind)
#161C2B
Tritanopia (blue-blind)
#320F1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300c2c;
/* rgb */ color: rgb(48, 12, 44);
/* oklch */ color: oklch(23.0% 0.075 332.3);
Tailwind
colors: {
  custom: {
    50: '#6a4e65',
    500: '#300c2c',
    950: '#000000',
  },
}
SCSS
$custom: #300c2c;
$custom-light: #6a4e65;
$custom-dark: #000000;
JSON
{
  "hex": "#300c2c",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 306.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2303,
    "c": 0.07481,
    "h": 332.3
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#300C2C
secondary
#2C6C33
accent
#E35645
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #300C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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