#300D39#300D39

#300D39 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.087 H 318.8°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#300D39
RGBrgb(48, 13, 57)
HSLhsl(288, 63%, 14%)
HSVhsv(288, 77%, 22%)
CMYKcmyk(15.8%, 77.2%, 0%, 77.6%)
CIE-LABlab(10.64, 25.49, -20.51)
CIE-LCHlch(10.64, 32.72, 321.17°)
OKLaboklab(24.08% 0.0655 -0.0574)
OKLCHoklch(24.08% 0.087 318.8)
XYZxyz(2.1013, 1.2117, 3.9933)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D39 #16390D
analogous
#1A0D39 #300D39 #390D2C
triadic
#300D39 #39300D #0D3930
tetradic
#300D39 #391A0D #16390D #0D2C39
square
#300D39 #391A0D #16390D #0D2C39
split-complementary
#300D39 #2C390D #0D391A
monochromatic
#150619 #150619 #300D39 #5A186B #84249D

Accessibility & contrast

On white

16.90
#300D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#300D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300D39
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D39#FFFFFF#000000##FFFFFF
##300D391.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A3A
Deuteranopia (green-blind)
#101E38
Tritanopia (blue-blind)
#301521
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300d39;
/* rgb */ color: rgb(48, 13, 57);
/* oklch */ color: oklch(24.1% 0.087 318.8);
Tailwind
colors: {
  custom: {
    50: '#6a4f6f',
    500: '#300d39',
    950: '#000000',
  },
}
SCSS
$custom: #300d39;
$custom-light: #6a4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#300d39",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 287.727,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24075,
    "c": 0.0871,
    "h": 318.8
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#300D39
secondary
#3C742D
accent
#E64263
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #300D39

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

Preview Lab → · Contrast checker → · Palette generator →

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