#300A3A#300A3A

#300A3A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.093 H 318.4°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#300A3A
RGBrgb(48, 10, 58)
HSLhsl(288, 71%, 13%)
HSVhsv(288, 83%, 23%)
CMYKcmyk(17.2%, 82.8%, 0%, 77.3%)
CIE-LABlab(10.19, 27.21, -21.96)
CIE-LCHlch(10.19, 34.97, 321.10°)
OKLaboklab(23.78% 0.0693 -0.0616)
OKLCHoklch(23.78% 0.093 318.4)
XYZxyz(2.0911, 1.1510, 4.1142)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A3A #143A0A
analogous
#180A3A #300A3A #3A0A2C
triadic
#300A3A #3A300A #0A3A30
tetradic
#300A3A #3A180A #143A0A #0A2C3A
square
#300A3A #3A180A #143A0A #0A2C3A
split-complementary
#300A3A #2C3A0A #0A3A18
monochromatic
#16051A #16051A #300A3A #5B136E #861CA2

Accessibility & contrast

On white

17.07
#300A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A3A
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A3A#FFFFFF#000000##FFFFFF
##300A3A1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#0C1D39
Tritanopia (blue-blind)
#301421
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300a3a;
/* rgb */ color: rgb(48, 10, 58);
/* oklch */ color: oklch(23.8% 0.093 318.4);
Tailwind
colors: {
  custom: {
    50: '#6a4d70',
    500: '#300a3a',
    950: '#000000',
  },
}
SCSS
$custom: #300a3a;
$custom-light: #6a4d70;
$custom-dark: #000000;
JSON
{
  "hex": "#300a3a",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 287.5,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23775,
    "c": 0.09276,
    "h": 318.4
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#300A3A
secondary
#397728
accent
#ED3A60
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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