#300F2C#300F2C

#300F2C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.5% C 0.069 H 332.5°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#300F2C
RGBrgb(48, 15, 44)
HSLhsl(307, 52%, 12%)
HSVhsv(307, 69%, 19%)
CMYKcmyk(0%, 68.7%, 8.3%, 81.2%)
CIE-LABlab(10.20, 21.44, -11.73)
CIE-LCHlch(10.20, 24.44, 331.31°)
OKLaboklab(23.48% 0.0614 -0.032)
OKLCHoklch(23.48% 0.069 332.5)
XYZxyz(1.8444, 1.1520, 2.5076)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F2C #0F3013
analogous
#240F30 #300F2C #300F1B
triadic
#300F2C #2C300F #0F2C30
tetradic
#300F2C #30240F #0F3013 #0F1B30
square
#300F2C #30240F #0F3013 #0F1B30
split-complementary
#300F2C #1B300F #0F3024
monochromatic
#170715 #170715 #300F2C #5F1E57 #8D2C81

Accessibility & contrast

On white

17.07
#300F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300F2C
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F2C#FFFFFF#000000##FFFFFF
##300F2C1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192D
Deuteranopia (green-blind)
#181E2B
Tritanopia (blue-blind)
#32121B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300f2c;
/* rgb */ color: rgb(48, 15, 44);
/* oklch */ color: oklch(23.5% 0.069 332.5);
Tailwind
colors: {
  custom: {
    50: '#6a4f65',
    500: '#300f2c',
    950: '#000000',
  },
}
SCSS
$custom: #300f2c;
$custom-light: #6a4f65;
$custom-dark: #000000;
JSON
{
  "hex": "#300f2c",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 307.273,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23477,
    "c": 0.06927,
    "h": 332.5
  },
  "luminance": 0.01152
}

Semantic roles & 50–950 ramp

primary
#300F2C
secondary
#316A38
accent
#DC5D4C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #300F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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