#300C3D#300C3D

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

Color values

HEX#300C3D
RGBrgb(48, 12, 61)
HSLhsl(284, 67%, 14%)
HSVhsv(284, 80%, 24%)
CMYKcmyk(21.3%, 80.3%, 0%, 76.1%)
CIE-LABlab(10.76, 26.97, -23.18)
CIE-LCHlch(10.76, 35.57, 319.32°)
OKLaboklab(24.26% 0.0665 -0.0652)
OKLCHoklch(24.26% 0.093 315.6)
XYZxyz(2.1926, 1.2283, 4.5356)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C3D #193D0C
analogous
#180C3D #300C3D #3D0C32
triadic
#300C3D #3D300C #0C3D30
tetradic
#300C3D #3D180C #193D0C #0C323D
square
#300C3D #3D180C #193D0C #0C323D
split-complementary
#300C3D #323D0C #0C3D18
monochromatic
#14051A #14051A #300C3D #581670 #8020A3

Accessibility & contrast

On white

16.86
#300C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C3D
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C3D#FFFFFF#000000##FFFFFF
##300C3D1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300c3d;
/* rgb */ color: rgb(48, 12, 61);
/* oklch */ color: oklch(24.3% 0.093 315.6);
Tailwind
colors: {
  custom: {
    50: '#6a4e73',
    500: '#300c3d',
    950: '#000000',
  },
}
SCSS
$custom: #300c3d;
$custom-light: #6a4e73;
$custom-dark: #000000;
JSON
{
  "hex": "#300c3d",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 284.082,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24259,
    "c": 0.09317,
    "h": 315.6
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#300C3D
secondary
#40792C
accent
#EA3E6B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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