#300A3E#300A3E

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

Color values

HEX#300A3E
RGBrgb(48, 10, 62)
HSLhsl(284, 72%, 14%)
HSVhsv(284, 84%, 24%)
CMYKcmyk(22.6%, 83.9%, 0%, 75.7%)
CIE-LABlab(10.51, 28.17, -24.31)
CIE-LCHlch(10.51, 37.21, 319.20°)
OKLaboklab(24.1% 0.0688 -0.0685)
OKLCHoklch(24.1% 0.097 315.1)
XYZxyz(2.1968, 1.1933, 4.6711)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A3E #183E0A
analogous
#160A3E #300A3E #3E0A32
triadic
#300A3E #3E300A #0A3E30
tetradic
#300A3E #3E160A #183E0A #0A323E
square
#300A3E #3E160A #183E0A #0A323E
split-complementary
#300A3E #323E0A #0A3E16
monochromatic
#14041A #14041A #300A3E #591373 #821BA7

Accessibility & contrast

On white

16.95
#300A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A3E
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A3E#FFFFFF#000000##FFFFFF
##300A3E1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#081D3D
Tritanopia (blue-blind)
#2F1523
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300a3e;
/* rgb */ color: rgb(48, 10, 62);
/* oklch */ color: oklch(24.1% 0.097 315.1);
Tailwind
colors: {
  custom: {
    50: '#6b4d74',
    500: '#300a3e',
    950: '#000000',
  },
}
SCSS
$custom: #300a3e;
$custom-light: #6b4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#300a3e",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 283.846,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24101,
    "c": 0.09711,
    "h": 315.1
  },
  "luminance": 0.01193
}

Semantic roles & 50–950 ramp

primary
#300A3E
secondary
#3F7B28
accent
#EF396A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #300A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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