#300D2E#300D2E

#300D2E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.075 H 330.0°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#300D2E
RGBrgb(48, 13, 46)
HSLhsl(303, 57%, 12%)
HSVhsv(303, 73%, 19%)
CMYKcmyk(0%, 72.9%, 4.2%, 81.2%)
CIE-LABlab(9.90, 22.99, -13.67)
CIE-LCHlch(9.90, 26.74, 329.26°)
OKLaboklab(23.3% 0.065 -0.0376)
OKLCHoklch(23.3% 0.075 330)
XYZxyz(1.8560, 1.1136, 2.7014)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D2E #0D300F
analogous
#210D30 #300D2E #300D1D
triadic
#300D2E #2E300D #0D2E30
tetradic
#300D2E #30210D #0D300F #0D1D30
square
#300D2E #30210D #0D300F #0D1D30
split-complementary
#300D2E #1D300D #0D3021
monochromatic
#180717 #180717 #300D2E #601A5C #90278A

Accessibility & contrast

On white

17.18
#300D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300D2E
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D2E#FFFFFF#000000##FFFFFF
##300D2E1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#32111B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300d2e;
/* rgb */ color: rgb(48, 13, 46);
/* oklch */ color: oklch(23.3% 0.075 330.0);
Tailwind
colors: {
  custom: {
    50: '#6a4e67',
    500: '#300d2e',
    950: '#000000',
  },
}
SCSS
$custom: #300d2e;
$custom-light: #6a4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#300d2e",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 303.429,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.233,
    "c": 0.07506,
    "h": 330
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#300D2E
secondary
#2E6B31
accent
#E15047
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #300D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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