#300A42#300A42

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

Color values

HEX#300A42
RGBrgb(48, 10, 66)
HSLhsl(281, 74%, 15%)
HSVhsv(281, 85%, 26%)
CMYKcmyk(27.3%, 84.8%, 0%, 74.1%)
CIE-LABlab(10.84, 29.15, -26.61)
CIE-LCHlch(10.84, 39.47, 317.61°)
OKLaboklab(24.44% 0.0681 -0.0753)
OKLCHoklch(24.44% 0.102 312.1)
XYZxyz(2.3107, 1.2389, 5.2706)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A42 #1C420A
analogous
#140A42 #300A42 #420A38
triadic
#300A42 #42300A #0A4230
tetradic
#300A42 #42140A #1C420A #0A3842
square
#300A42 #42140A #1C420A #0A3842
split-complementary
#300A42 #38420A #0A4214
monochromatic
#13041B #13041B #300A42 #571277 #7D1AAC

Accessibility & contrast

On white

16.83
#300A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A42
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A42#FFFFFF#000000##FFFFFF
##300A421.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#031E41
Tritanopia (blue-blind)
#2E1725
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300a42;
/* rgb */ color: rgb(48, 10, 66);
/* oklch */ color: oklch(24.4% 0.102 312.1);
Tailwind
colors: {
  custom: {
    50: '#6b4e77',
    500: '#300a42',
    950: '#000000',
  },
}
SCSS
$custom: #300a42;
$custom-light: #6b4e77;
$custom-dark: #000000;
JSON
{
  "hex": "#300a42",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 280.714,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24443,
    "c": 0.10152,
    "h": 312.1
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#300A42
secondary
#447F29
accent
#F03773
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300A42

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

Preview Lab → · Contrast checker → · Palette generator →

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