#300E39#300E39

#300E39 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.085 H 318.6°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#300E39
RGBrgb(48, 14, 57)
HSLhsl(287, 61%, 14%)
HSVhsv(287, 75%, 22%)
CMYKcmyk(15.8%, 75.4%, 0%, 77.6%)
CIE-LABlab(10.83, 24.95, -20.21)
CIE-LCHlch(10.83, 32.11, 321.00°)
OKLaboklab(24.21% 0.0641 -0.0565)
OKLCHoklch(24.21% 0.085 318.6)
XYZxyz(2.1144, 1.2380, 3.9977)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300E39 #17390E
analogous
#1B0E39 #300E39 #390E2D
triadic
#300E39 #39300E #0E3930
tetradic
#300E39 #391B0E #17390E #0E2D39
square
#300E39 #391B0E #17390E #0E2D39
split-complementary
#300E39 #2D390E #0E391B
monochromatic
#150619 #150619 #300E39 #591A6A #83269B

Accessibility & contrast

On white

16.83
#300E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300E39
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300E39#FFFFFF#000000##FFFFFF
##300E391.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3A
Deuteranopia (green-blind)
#101E38
Tritanopia (blue-blind)
#301622
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300e39;
/* rgb */ color: rgb(48, 14, 57);
/* oklch */ color: oklch(24.2% 0.085 318.6);
Tailwind
colors: {
  custom: {
    50: '#6a4f6f',
    500: '#300e39',
    950: '#000000',
  },
}
SCSS
$custom: #300e39;
$custom-light: #6a4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#300e39",
  "rgb": {
    "r": 48,
    "g": 14,
    "b": 57
  },
  "hsl": {
    "h": 287.442,
    "s": 60.563,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24212,
    "c": 0.08547,
    "h": 318.6
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#300E39
secondary
#3D742F
accent
#E44466
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #300E39

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

Preview Lab → · Contrast checker → · Palette generator →

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