#300A3D#300A3D

#300A3D is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.096 H 315.9°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#300A3D
RGBrgb(48, 10, 61)
HSLhsl(285, 72%, 14%)
HSVhsv(285, 84%, 24%)
CMYKcmyk(21.3%, 83.6%, 0%, 76.1%)
CIE-LABlab(10.43, 27.92, -23.73)
CIE-LCHlch(10.43, 36.64, 319.65°)
OKLaboklab(24.02% 0.069 -0.0668)
OKLCHoklch(24.02% 0.096 315.9)
XYZxyz(2.1696, 1.1825, 4.5279)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A3D #173D0A
analogous
#170A3D #300A3D #3D0A31
triadic
#300A3D #3D300A #0A3D30
tetradic
#300A3D #3D170A #173D0A #0A313D
square
#300A3D #3D170A #173D0A #0A313D
split-complementary
#300A3D #313D0A #0A3D17
monochromatic
#15041A #15041A #300A3D #591372 #831BA6

Accessibility & contrast

On white

16.98
#300A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A3D
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A3D#FFFFFF#000000##FFFFFF
##300A3D1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#091D3C
Tritanopia (blue-blind)
#2F1523
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300a3d;
/* rgb */ color: rgb(48, 10, 61);
/* oklch */ color: oklch(24.0% 0.096 315.9);
Tailwind
colors: {
  custom: {
    50: '#6b4d73',
    500: '#300a3d',
    950: '#000000',
  },
}
SCSS
$custom: #300a3d;
$custom-light: #6b4d73;
$custom-dark: #000000;
JSON
{
  "hex": "#300a3d",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 284.706,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24018,
    "c": 0.09602,
    "h": 315.9
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#300A3D
secondary
#3D7A28
accent
#EF3967
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #300A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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