#300F2E#300F2E

#300F2E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.071 H 330.0°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#300F2E
RGBrgb(48, 15, 46)
HSLhsl(304, 52%, 12%)
HSVhsv(304, 69%, 19%)
CMYKcmyk(0%, 68.7%, 4.2%, 81.2%)
CIE-LABlab(10.31, 21.86, -13.03)
CIE-LCHlch(10.31, 25.45, 329.21°)
OKLaboklab(23.6% 0.0618 -0.0357)
OKLCHoklch(23.6% 0.071 330)
XYZxyz(1.8829, 1.1674, 2.7104)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F2E #0F3011
analogous
#210F30 #300F2E #300F1E
triadic
#300F2E #2E300F #0F2E30
tetradic
#300F2E #30210F #0F3011 #0F1E30
square
#300F2E #30210F #0F3011 #0F1E30
split-complementary
#300F2E #1E300F #0F3021
monochromatic
#170716 #170716 #300F2E #5F1E5B #8D2C87

Accessibility & contrast

On white

17.03
#300F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300F2E
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F2E#FFFFFF#000000##FFFFFF
##300F2E1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192F
Deuteranopia (green-blind)
#171E2D
Tritanopia (blue-blind)
#32121C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300f2e;
/* rgb */ color: rgb(48, 15, 46);
/* oklch */ color: oklch(23.6% 0.071 330.0);
Tailwind
colors: {
  custom: {
    50: '#6a4f66',
    500: '#300f2e',
    950: '#000000',
  },
}
SCSS
$custom: #300f2e;
$custom-light: #6a4f66;
$custom-dark: #000000;
JSON
{
  "hex": "#300f2e",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 303.636,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.236,
    "c": 0.07137,
    "h": 330
  },
  "luminance": 0.01167
}

Semantic roles & 50–950 ramp

primary
#300F2E
secondary
#316A34
accent
#DC554C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #300F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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