#300A31#300A31

#300A31 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.083 H 326.8°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#300A31
RGBrgb(48, 10, 49)
HSLhsl(298, 66%, 12%)
HSVhsv(298, 80%, 19%)
CMYKcmyk(2%, 79.6%, 0%, 80.8%)
CIE-LABlab(9.54, 25.18, -16.45)
CIE-LCHlch(9.54, 30.08, 326.84°)
OKLaboklab(23.1% 0.0696 -0.0456)
OKLCHoklch(23.1% 0.083 326.8)
XYZxyz(1.8818, 1.0673, 3.0120)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A31 #0B310A
analogous
#1D0A31 #300A31 #310A1F
triadic
#300A31 #31300A #0A3130
tetradic
#300A31 #311D0A #0B310A #0A1F31
square
#300A31 #311D0A #0B310A #0A1F31
split-complementary
#300A31 #1F310A #0A311D
monochromatic
#190519 #190519 #300A31 #621464 #941F97

Accessibility & contrast

On white

17.31
#300A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#300A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A31
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A31#FFFFFF#000000##FFFFFF
##300A311.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051732
Deuteranopia (green-blind)
#131C30
Tritanopia (blue-blind)
#32101C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300a31;
/* rgb */ color: rgb(48, 10, 49);
/* oklch */ color: oklch(23.1% 0.083 326.8);
Tailwind
colors: {
  custom: {
    50: '#6a4d69',
    500: '#300a31',
    950: '#000000',
  },
}
SCSS
$custom: #300a31;
$custom-light: #6a4d69;
$custom-dark: #000000;
JSON
{
  "hex": "#300a31",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 298.462,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23099,
    "c": 0.08321,
    "h": 326.8
  },
  "luminance": 0.01067
}

Semantic roles & 50–950 ramp

primary
#300A31
secondary
#2A6E29
accent
#E93F43
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300A31

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

Preview Lab → · Contrast checker → · Palette generator →

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