#300D3C#300D3C

#300D3C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.091 H 316.2°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#300D3C
RGBrgb(48, 13, 60)
HSLhsl(285, 64%, 14%)
HSVhsv(285, 78%, 24%)
CMYKcmyk(20%, 78.3%, 0%, 76.5%)
CIE-LABlab(10.87, 26.21, -22.30)
CIE-LCHlch(10.87, 34.42, 319.61°)
OKLaboklab(24.31% 0.0653 -0.0627)
OKLCHoklch(24.31% 0.091 316.2)
XYZxyz(2.1783, 1.2426, 4.3992)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D3C #193C0D
analogous
#190D3C #300D3C #3C0D31
triadic
#300D3C #3C300D #0D3C30
tetradic
#300D3C #3C190D #193C0D #0D313C
square
#300D3C #3C190D #193C0D #0D313C
split-complementary
#300D3C #313C0D #0D3C19
monochromatic
#140519 #140519 #300D3C #58186E #8023A1

Accessibility & contrast

On white

16.82
#300D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#300D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300D3C
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D3C#FFFFFF#000000##FFFFFF
##300D3C1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#0D1E3B
Tritanopia (blue-blind)
#2F1623
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300d3c;
/* rgb */ color: rgb(48, 13, 60);
/* oklch */ color: oklch(24.3% 0.091 316.2);
Tailwind
colors: {
  custom: {
    50: '#6a4f72',
    500: '#300d3c',
    950: '#000000',
  },
}
SCSS
$custom: #300d3c;
$custom-light: #6a4f72;
$custom-dark: #000000;
JSON
{
  "hex": "#300d3c",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 284.681,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24308,
    "c": 0.09052,
    "h": 316.2
  },
  "luminance": 0.01242
}

Semantic roles & 50–950 ramp

primary
#300D3C
secondary
#40782D
accent
#E7406B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #300D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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