#300A40#300A40

#300A40 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.099 H 313.6°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#300A40
RGBrgb(48, 10, 64)
HSLhsl(282, 73%, 15%)
HSVhsv(282, 84%, 25%)
CMYKcmyk(25%, 84.4%, 0%, 74.9%)
CIE-LABlab(10.67, 28.65, -25.47)
CIE-LCHlch(10.67, 38.34, 318.37°)
OKLaboklab(24.27% 0.0685 -0.0719)
OKLCHoklch(24.27% 0.099 313.6)
XYZxyz(2.2527, 1.2157, 4.9655)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A40 #1A400A
analogous
#150A40 #300A40 #400A35
triadic
#300A40 #40300A #0A4030
tetradic
#300A40 #40150A #1A400A #0A3540
square
#300A40 #40150A #1A400A #0A3540
split-complementary
#300A40 #35400A #0A4015
monochromatic
#14041A #14041A #300A40 #581275 #7F1BAA

Accessibility & contrast

On white

16.89
#300A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A40
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A40#FFFFFF#000000##FFFFFF
##300A401.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#061E3F
Tritanopia (blue-blind)
#2E1624
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300a40;
/* rgb */ color: rgb(48, 10, 64);
/* oklch */ color: oklch(24.3% 0.099 313.6);
Tailwind
colors: {
  custom: {
    50: '#6b4e75',
    500: '#300a40',
    950: '#000000',
  },
}
SCSS
$custom: #300a40;
$custom-light: #6b4e75;
$custom-dark: #000000;
JSON
{
  "hex": "#300a40",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 282.222,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2427,
    "c": 0.09931,
    "h": 313.6
  },
  "luminance": 0.01216
}

Semantic roles & 50–950 ramp

primary
#300A40
secondary
#427D29
accent
#F0386F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300A40

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

Preview Lab → · Contrast checker → · Palette generator →

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