#300A37#300A37

#300A37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.090 H 321.0°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#300A37
RGBrgb(48, 10, 55)
HSLhsl(291, 69%, 13%)
HSVhsv(291, 82%, 22%)
CMYKcmyk(12.7%, 81.8%, 0%, 78.4%)
CIE-LABlab(9.96, 26.51, -20.15)
CIE-LCHlch(9.96, 33.30, 322.76°)
OKLaboklab(23.54% 0.0696 -0.0563)
OKLCHoklch(23.54% 0.09 321)
XYZxyz(2.0170, 1.1214, 3.7239)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A37 #11370A
analogous
#1A0A37 #300A37 #370A27
triadic
#300A37 #37300A #0A3730
tetradic
#300A37 #371A0A #11370A #0A2737
square
#300A37 #371A0A #11370A #0A2737
split-complementary
#300A37 #27370A #0A371A
monochromatic
#17051A #17051A #300A37 #5D136B #8A1D9F

Accessibility & contrast

On white

17.15
#300A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#300A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A37
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A37#FFFFFF#000000##FFFFFF
##300A371.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#0F1D36
Tritanopia (blue-blind)
#30121F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300a37;
/* rgb */ color: rgb(48, 10, 55);
/* oklch */ color: oklch(23.5% 0.090 321.0);
Tailwind
colors: {
  custom: {
    50: '#6a4d6e',
    500: '#300a37',
    950: '#000000',
  },
}
SCSS
$custom: #300a37;
$custom-light: #6a4d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#300a37",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 290.667,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2354,
    "c": 0.08952,
    "h": 321
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#300A37
secondary
#347428
accent
#EC3C57
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300A37

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

Preview Lab → · Contrast checker → · Palette generator →

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