#300A3F#300A3F

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

Color values

HEX#300A3F
RGBrgb(48, 10, 63)
HSLhsl(283, 73%, 14%)
HSVhsv(283, 84%, 25%)
CMYKcmyk(23.8%, 84.1%, 0%, 75.3%)
CIE-LABlab(10.59, 28.41, -24.89)
CIE-LCHlch(10.59, 37.77, 318.78°)
OKLaboklab(24.19% 0.0687 -0.0702)
OKLCHoklch(24.19% 0.098 314.3)
XYZxyz(2.2245, 1.2044, 4.8170)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A3F #193F0A
analogous
#160A3F #300A3F #3F0A34
triadic
#300A3F #3F300A #0A3F30
tetradic
#300A3F #3F160A #193F0A #0A343F
square
#300A3F #3F160A #193F0A #0A343F
split-complementary
#300A3F #343F0A #0A3F16
monochromatic
#14041A #14041A #300A3F #581274 #801BA9

Accessibility & contrast

On white

16.92
#300A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A3F
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A3F#FFFFFF#000000##FFFFFF
##300A3F1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#071E3E
Tritanopia (blue-blind)
#2F1624
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300a3f;
/* rgb */ color: rgb(48, 10, 63);
/* oklch */ color: oklch(24.2% 0.098 314.3);
Tailwind
colors: {
  custom: {
    50: '#6b4e74',
    500: '#300a3f',
    950: '#000000',
  },
}
SCSS
$custom: #300a3f;
$custom-light: #6b4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#300a3f",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 283.019,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24185,
    "c": 0.09821,
    "h": 314.3
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#300A3F
secondary
#407C29
accent
#EF386C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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