#300C2D#300C2D

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

Color values

HEX#300C2D
RGBrgb(48, 12, 45)
HSLhsl(305, 60%, 12%)
HSVhsv(305, 75%, 19%)
CMYKcmyk(0%, 75%, 6.2%, 81.2%)
CIE-LABlab(9.65, 23.31, -13.33)
CIE-LCHlch(9.65, 26.86, 330.23°)
OKLaboklab(23.09% 0.0664 -0.0366)
OKLCHoklch(23.09% 0.076 331.1)
XYZxyz(1.8240, 1.0809, 2.5947)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C2D #0C300F
analogous
#210C30 #300C2D #300C1B
triadic
#300C2D #2D300C #0C2D30
tetradic
#300C2D #30210C #0C300F #0C1B30
square
#300C2D #30210C #0C300F #0C1B30
split-complementary
#300C2D #1B300C #0C3021
monochromatic
#180617 #180617 #300C2D #61185B #922489

Accessibility & contrast

On white

17.27
#300C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C2D
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C2D#FFFFFF#000000##FFFFFF
##300C2D1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182E
Deuteranopia (green-blind)
#161D2C
Tritanopia (blue-blind)
#32101B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300c2d;
/* rgb */ color: rgb(48, 12, 45);
/* oklch */ color: oklch(23.1% 0.076 331.1);
Tailwind
colors: {
  custom: {
    50: '#6a4e66',
    500: '#300c2d',
    950: '#000000',
  },
}
SCSS
$custom: #300c2d;
$custom-light: #6a4e66;
$custom-dark: #000000;
JSON
{
  "hex": "#300c2d",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 305,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23094,
    "c": 0.07581,
    "h": 331.1
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#300C2D
secondary
#2C6C31
accent
#E35245
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #300C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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