#300F2B#300F2B

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

Color values

HEX#300F2B
RGBrgb(48, 15, 43)
HSLhsl(309, 52%, 12%)
HSVhsv(309, 69%, 19%)
CMYKcmyk(0%, 68.7%, 10.4%, 81.2%)
CIE-LABlab(10.14, 21.23, -11.08)
CIE-LCHlch(10.14, 23.94, 332.44°)
OKLaboklab(23.42% 0.0612 -0.0302)
OKLCHoklch(23.42% 0.068 333.8)
XYZxyz(1.8258, 1.1446, 2.4098)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F2B #0F3014
analogous
#250F30 #300F2B #300F1B
triadic
#300F2B #2B300F #0F2B30
tetradic
#300F2B #30250F #0F3014 #0F1B30
square
#300F2B #30250F #0F3014 #0F1B30
split-complementary
#300F2B #1B300F #0F3025
monochromatic
#170715 #170715 #300F2B #5F1E55 #8D2C7F

Accessibility & contrast

On white

17.09
#300F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300F2B
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F2B#FFFFFF#000000##FFFFFF
##300F2B1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192C
Deuteranopia (green-blind)
#191E2A
Tritanopia (blue-blind)
#32111B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300f2b;
/* rgb */ color: rgb(48, 15, 43);
/* oklch */ color: oklch(23.4% 0.068 333.8);
Tailwind
colors: {
  custom: {
    50: '#6a4f64',
    500: '#300f2b',
    950: '#000000',
  },
}
SCSS
$custom: #300f2b;
$custom-light: #6a4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#300f2b",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 309.091,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23417,
    "c": 0.06825,
    "h": 333.8
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#300F2B
secondary
#316A3A
accent
#DC624C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #300F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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