#300D2F#300D2F

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

Color values

HEX#300D2F
RGBrgb(48, 13, 47)
HSLhsl(302, 57%, 12%)
HSVhsv(302, 73%, 19%)
CMYKcmyk(0%, 72.9%, 2.1%, 81.2%)
CIE-LABlab(9.97, 23.20, -14.31)
CIE-LCHlch(9.97, 27.26, 328.33°)
OKLaboklab(23.37% 0.0651 -0.0394)
OKLCHoklch(23.37% 0.076 328.8)
XYZxyz(1.8759, 1.1216, 2.8065)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D2F #0D300E
analogous
#200D30 #300D2F #300D1E
triadic
#300D2F #2F300D #0D2F30
tetradic
#300D2F #30200D #0D300E #0D1E30
square
#300D2F #30200D #0D300E #0D1E30
split-complementary
#300D2F #1E300D #0D3020
monochromatic
#180718 #180718 #300D2F #601A5E #90278D

Accessibility & contrast

On white

17.15
#300D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300D2F
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D2F#FFFFFF#000000##FFFFFF
##300D2F1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1830
Deuteranopia (green-blind)
#161D2E
Tritanopia (blue-blind)
#32111C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300d2f;
/* rgb */ color: rgb(48, 13, 47);
/* oklch */ color: oklch(23.4% 0.076 328.8);
Tailwind
colors: {
  custom: {
    50: '#6a4e67',
    500: '#300d2f',
    950: '#000000',
  },
}
SCSS
$custom: #300d2f;
$custom-light: #6a4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#300d2f",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 301.714,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23365,
    "c": 0.0761,
    "h": 328.8
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#300D2F
secondary
#2E6B2F
accent
#E14C47
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #300D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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