#300A3B#300A3B

#300A3B is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.094 H 317.5°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#300A3B
RGBrgb(48, 10, 59)
HSLhsl(287, 71%, 14%)
HSVhsv(287, 83%, 23%)
CMYKcmyk(18.6%, 83.1%, 0%, 76.9%)
CIE-LABlab(10.27, 27.45, -22.55)
CIE-LCHlch(10.27, 35.52, 320.60°)
OKLaboklab(23.86% 0.0692 -0.0634)
OKLCHoklch(23.86% 0.094 317.5)
XYZxyz(2.1168, 1.1613, 4.2495)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A3B #153B0A
analogous
#170A3B #300A3B #3B0A2D
triadic
#300A3B #3B300A #0A3B30
tetradic
#300A3B #3B170A #153B0A #0A2D3B
square
#300A3B #3B170A #153B0A #0A2D3B
split-complementary
#300A3B #2D3B0A #0A3B17
monochromatic
#15041A #15041A #300A3B #5B136F #851CA4

Accessibility & contrast

On white

17.04
#300A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A3B
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A3B#FFFFFF#000000##FFFFFF
##300A3B1.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#0B1D3A
Tritanopia (blue-blind)
#301421
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300a3b;
/* rgb */ color: rgb(48, 10, 59);
/* oklch */ color: oklch(23.9% 0.094 317.5);
Tailwind
colors: {
  custom: {
    50: '#6a4d71',
    500: '#300a3b',
    950: '#000000',
  },
}
SCSS
$custom: #300a3b;
$custom-light: #6a4d71;
$custom-dark: #000000;
JSON
{
  "hex": "#300a3b",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 59
  },
  "hsl": {
    "h": 286.531,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23855,
    "c": 0.09384,
    "h": 317.5
  },
  "luminance": 0.01161
}

Semantic roles & 50–950 ramp

primary
#300A3B
secondary
#3A7828
accent
#EE3A62
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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