#300C3F#300C3F

#300C3F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.095 H 314.0°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#300C3F
RGBrgb(48, 12, 63)
HSLhsl(282, 68%, 15%)
HSVhsv(282, 81%, 25%)
CMYKcmyk(23.8%, 81%, 0%, 75.3%)
CIE-LABlab(10.92, 27.46, -24.35)
CIE-LCHlch(10.92, 36.70, 318.43°)
OKLaboklab(24.42% 0.0663 -0.0687)
OKLCHoklch(24.42% 0.095 314)
XYZxyz(2.2474, 1.2503, 4.8246)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C3F #1B3F0C
analogous
#170C3F #300C3F #3F0C35
triadic
#300C3F #3F300C #0C3F30
tetradic
#300C3F #3F170C #1B3F0C #0C353F
square
#300C3F #3F170C #1B3F0C #0C353F
split-complementary
#300C3F #353F0C #0C3F17
monochromatic
#14051A #14051A #300C3F #571672 #7E20A6

Accessibility & contrast

On white

16.80
#300C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300C3F
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C3F#FFFFFF#000000##FFFFFF
##300C3F1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#091E3E
Tritanopia (blue-blind)
#2F1724
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300c3f;
/* rgb */ color: rgb(48, 12, 63);
/* oklch */ color: oklch(24.4% 0.095 314.0);
Tailwind
colors: {
  custom: {
    50: '#6b4f74',
    500: '#300c3f',
    950: '#000000',
  },
}
SCSS
$custom: #300c3f;
$custom-light: #6b4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#300c3f",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 282.353,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24422,
    "c": 0.09544,
    "h": 314
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#300C3F
secondary
#437B2C
accent
#EB3D70
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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