#300C2E#300C2E

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

Color values

HEX#300C2E
RGBrgb(48, 12, 46)
HSLhsl(303, 60%, 12%)
HSVhsv(303, 75%, 19%)
CMYKcmyk(0%, 75%, 4.2%, 81.2%)
CIE-LABlab(9.71, 23.52, -13.98)
CIE-LCHlch(9.71, 27.36, 329.28°)
OKLaboklab(23.16% 0.0665 -0.0384)
OKLCHoklch(23.16% 0.077 330)
XYZxyz(1.8435, 1.0887, 2.6973)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C2E #0C300E
analogous
#200C30 #300C2E #300C1C
triadic
#300C2E #2E300C #0C2E30
tetradic
#300C2E #30200C #0C300E #0C1C30
square
#300C2E #30200C #0C300E #0C1C30
split-complementary
#300C2E #1C300C #0C3020
monochromatic
#180617 #180617 #300C2E #61185D #92248C

Accessibility & contrast

On white

17.24
#300C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#300C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300C2E
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C2E#FFFFFF#000000##FFFFFF
##300C2E1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#32101B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300c2e;
/* rgb */ color: rgb(48, 12, 46);
/* oklch */ color: oklch(23.2% 0.077 330.0);
Tailwind
colors: {
  custom: {
    50: '#6a4e67',
    500: '#300c2e',
    950: '#000000',
  },
}
SCSS
$custom: #300c2e;
$custom-light: #6a4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#300c2e",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 303.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23159,
    "c": 0.07682,
    "h": 330
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#300C2E
secondary
#2C6C30
accent
#E34D45
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #300C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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