#300A39#300A39

#300A39 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.092 H 319.2°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#300A39
RGBrgb(48, 10, 57)
HSLhsl(289, 70%, 13%)
HSVhsv(289, 82%, 22%)
CMYKcmyk(15.8%, 82.5%, 0%, 77.6%)
CIE-LABlab(10.11, 26.97, -21.36)
CIE-LCHlch(10.11, 34.41, 321.63°)
OKLaboklab(23.7% 0.0694 -0.0599)
OKLCHoklch(23.7% 0.092 319.2)
XYZxyz(2.0659, 1.1410, 3.9815)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A39 #13390A
analogous
#180A39 #300A39 #390A2A
triadic
#300A39 #39300A #0A3930
tetradic
#300A39 #39180A #13390A #0A2A39
square
#300A39 #39180A #13390A #0A2A39
split-complementary
#300A39 #2A390A #0A3918
monochromatic
#16051A #16051A #300A39 #5C136D #881CA1

Accessibility & contrast

On white

17.10
#300A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A39
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A39#FFFFFF#000000##FFFFFF
##300A391.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#0D1D38
Tritanopia (blue-blind)
#301320
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300a39;
/* rgb */ color: rgb(48, 10, 57);
/* oklch */ color: oklch(23.7% 0.092 319.2);
Tailwind
colors: {
  custom: {
    50: '#6a4d70',
    500: '#300a39',
    950: '#000000',
  },
}
SCSS
$custom: #300a39;
$custom-light: #6a4d70;
$custom-dark: #000000;
JSON
{
  "hex": "#300a39",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 57
  },
  "hsl": {
    "h": 288.511,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23696,
    "c": 0.09167,
    "h": 319.2
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#300A39
secondary
#377628
accent
#ED3B5D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300A39

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

Preview Lab → · Contrast checker → · Palette generator →

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