#300D3F#300D3F

#300D3F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.094 H 313.8°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#300D3F
RGBrgb(48, 13, 63)
HSLhsl(282, 66%, 15%)
HSVhsv(282, 79%, 25%)
CMYKcmyk(23.8%, 79.4%, 0%, 75.3%)
CIE-LABlab(11.10, 26.96, -24.07)
CIE-LCHlch(11.10, 36.14, 318.25°)
OKLaboklab(24.55% 0.065 -0.0678)
OKLCHoklch(24.55% 0.094 313.8)
XYZxyz(2.2599, 1.2752, 4.8288)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D3F #1C3F0D
analogous
#170D3F #300D3F #3F0D35
triadic
#300D3F #3F300D #0D3F30
tetradic
#300D3F #3F170D #1C3F0D #0D353F
square
#300D3F #3F170D #1C3F0D #0D353F
split-complementary
#300D3F #353F0D #0D3F17
monochromatic
#130519 #130519 #300D3F #571772 #7D22A4

Accessibility & contrast

On white

16.73
#300D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300D3F
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D3F#FFFFFF#000000##FFFFFF
##300D3F1.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#0A1F3E
Tritanopia (blue-blind)
#2F1724
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300d3f;
/* rgb */ color: rgb(48, 13, 63);
/* oklch */ color: oklch(24.5% 0.094 313.8);
Tailwind
colors: {
  custom: {
    50: '#6b4f74',
    500: '#300d3f',
    950: '#000000',
  },
}
SCSS
$custom: #300d3f;
$custom-light: #6b4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#300d3f",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 282,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24549,
    "c": 0.09397,
    "h": 313.8
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#300D3F
secondary
#447B2D
accent
#E93F72
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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