#300C2F#300C2F

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

Color values

HEX#300C2F
RGBrgb(48, 12, 47)
HSLhsl(302, 60%, 12%)
HSVhsv(302, 75%, 19%)
CMYKcmyk(0%, 75%, 2.1%, 81.2%)
CIE-LABlab(9.77, 23.74, -14.61)
CIE-LCHlch(9.77, 27.87, 328.38°)
OKLaboklab(23.23% 0.0666 -0.0403)
OKLCHoklch(23.23% 0.078 328.9)
XYZxyz(1.8635, 1.0967, 2.8023)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C2F #0C300D
analogous
#1F0C30 #300C2F #300C1D
triadic
#300C2F #2F300C #0C2F30
tetradic
#300C2F #301F0C #0C300D #0C1D30
square
#300C2F #301F0C #0C300D #0C1D30
split-complementary
#300C2F #1D300C #0C301F
monochromatic
#180618 #180618 #300C2F #61185F #92248F

Accessibility & contrast

On white

17.22
#300C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C2F
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C2F#FFFFFF#000000##FFFFFF
##300C2F1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#151D2E
Tritanopia (blue-blind)
#32101C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300c2f;
/* rgb */ color: rgb(48, 12, 47);
/* oklch */ color: oklch(23.2% 0.078 328.9);
Tailwind
colors: {
  custom: {
    50: '#6a4e67',
    500: '#300c2f',
    950: '#000000',
  },
}
SCSS
$custom: #300c2f;
$custom-light: #6a4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#300c2f",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 301.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23225,
    "c": 0.07785,
    "h": 328.9
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#300C2F
secondary
#2C6C2E
accent
#E34945
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #300C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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