#300A41#300A41

#300A41 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.100 H 312.9°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#300A41
RGBrgb(48, 10, 65)
HSLhsl(281, 73%, 15%)
HSVhsv(281, 85%, 25%)
CMYKcmyk(26.2%, 84.6%, 0%, 74.5%)
CIE-LABlab(10.76, 28.90, -26.04)
CIE-LCHlch(10.76, 38.90, 317.98°)
OKLaboklab(24.36% 0.0683 -0.0736)
OKLCHoklch(24.36% 0.1 312.9)
XYZxyz(2.2814, 1.2272, 5.1167)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A41 #1B410A
analogous
#150A41 #300A41 #410A36
triadic
#300A41 #41300A #0A4130
tetradic
#300A41 #41150A #1B410A #0A3641
square
#300A41 #41150A #1B410A #0A3641
split-complementary
#300A41 #36410A #0A4115
monochromatic
#14041B #14041B #300A41 #571276 #7E1AAB

Accessibility & contrast

On white

16.86
#300A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#300A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A41
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A41#FFFFFF#000000##FFFFFF
##300A411.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#051E40
Tritanopia (blue-blind)
#2E1725
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300a41;
/* rgb */ color: rgb(48, 10, 65);
/* oklch */ color: oklch(24.4% 0.100 312.9);
Tailwind
colors: {
  custom: {
    50: '#6b4e76',
    500: '#300a41',
    950: '#000000',
  },
}
SCSS
$custom: #300a41;
$custom-light: #6b4e76;
$custom-dark: #000000;
JSON
{
  "hex": "#300a41",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 281.455,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24356,
    "c": 0.10042,
    "h": 312.9
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#300A41
secondary
#437E29
accent
#F03871
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300A41

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

Preview Lab → · Contrast checker → · Palette generator →

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