#300F2F#300F2F

#300F2F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.072 H 328.8°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#300F2F
RGBrgb(48, 15, 47)
HSLhsl(302, 52%, 12%)
HSVhsv(302, 69%, 19%)
CMYKcmyk(0%, 68.7%, 2.1%, 81.2%)
CIE-LABlab(10.37, 22.08, -13.67)
CIE-LCHlch(10.37, 25.97, 328.24°)
OKLaboklab(23.66% 0.0619 -0.0376)
OKLCHoklch(23.66% 0.072 328.8)
XYZxyz(1.9028, 1.1754, 2.8154)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F2F #0F3010
analogous
#210F30 #300F2F #300F1F
triadic
#300F2F #2F300F #0F2F30
tetradic
#300F2F #30210F #0F3010 #0F1F30
square
#300F2F #30210F #0F3010 #0F1F30
split-complementary
#300F2F #1F300F #0F3021
monochromatic
#170717 #170717 #300F2F #5F1E5D #8D2C8A

Accessibility & contrast

On white

17.00
#300F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F2F
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F2F#FFFFFF#000000##FFFFFF
##300F2F1.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1930
Deuteranopia (green-blind)
#171E2E
Tritanopia (blue-blind)
#32131D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300f2f;
/* rgb */ color: rgb(48, 15, 47);
/* oklch */ color: oklch(23.7% 0.072 328.8);
Tailwind
colors: {
  custom: {
    50: '#6a4f67',
    500: '#300f2f',
    950: '#000000',
  },
}
SCSS
$custom: #300f2f;
$custom-light: #6a4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#300f2f",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 301.818,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23664,
    "c": 0.07244,
    "h": 328.8
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#300F2F
secondary
#316A33
accent
#DC504C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #300F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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