#300A2B#300A2B

#300A2B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.077 H 333.5°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#300A2B
RGBrgb(48, 10, 43)
HSLhsl(308, 66%, 11%)
HSVhsv(308, 79%, 19%)
CMYKcmyk(0%, 79.2%, 10.4%, 81.2%)
CIE-LABlab(9.16, 23.93, -12.62)
CIE-LCHlch(9.16, 27.05, 332.20°)
OKLaboklab(22.7% 0.0691 -0.0345)
OKLCHoklch(22.7% 0.077 333.5)
XYZxyz(1.7635, 1.0200, 2.3890)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A2B #0A300F
analogous
#220A30 #300A2B #300A18
triadic
#300A2B #2B300A #0A2B30
tetradic
#300A2B #30220A #0A300F #0A1830
square
#300A2B #30220A #0A300F #0A1830
split-complementary
#300A2B #18300A #0A3022
monochromatic
#190517 #190517 #300A2B #631558 #951F86

Accessibility & contrast

On white

17.44
#300A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#300A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A2B
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A2B#FFFFFF#000000##FFFFFF
##300A2B1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162C
Deuteranopia (green-blind)
#161C2A
Tritanopia (blue-blind)
#330D19
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300a2b;
/* rgb */ color: rgb(48, 10, 43);
/* oklch */ color: oklch(22.7% 0.077 333.5);
Tailwind
colors: {
  custom: {
    50: '#6a4c64',
    500: '#300a2b',
    950: '#000000',
  },
}
SCSS
$custom: #300a2b;
$custom-light: #6a4c64;
$custom-dark: #000000;
JSON
{
  "hex": "#300a2b",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 307.895,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22698,
    "c": 0.07724,
    "h": 333.5
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#300A2B
secondary
#296D32
accent
#E8563F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060105
muted
#7A777A

Preview Lab

Preview with #300A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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