#300A2A#300A2A

#300A2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.076 H 334.7°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#300A2A
RGBrgb(48, 10, 42)
HSLhsl(309, 66%, 11%)
HSVhsv(309, 79%, 19%)
CMYKcmyk(0%, 79.2%, 12.5%, 81.2%)
CIE-LABlab(9.10, 23.73, -11.96)
CIE-LCHlch(9.10, 26.58, 333.25°)
OKLaboklab(22.64% 0.069 -0.0326)
OKLCHoklch(22.64% 0.076 334.7)
XYZxyz(1.7454, 1.0128, 2.2936)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A2A #0A3010
analogous
#230A30 #300A2A #300A17
triadic
#300A2A #2A300A #0A2A30
tetradic
#300A2A #30230A #0A3010 #0A1730
square
#300A2A #30230A #0A3010 #0A1730
split-complementary
#300A2A #17300A #0A3023
monochromatic
#190516 #190516 #300A2A #631556 #951F83

Accessibility & contrast

On white

17.46
#300A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A2A
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A2A#FFFFFF#000000##FFFFFF
##300A2A1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A162B
Deuteranopia (green-blind)
#161C29
Tritanopia (blue-blind)
#330D18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300a2a;
/* rgb */ color: rgb(48, 10, 42);
/* oklch */ color: oklch(22.6% 0.076 334.7);
Tailwind
colors: {
  custom: {
    50: '#6a4c63',
    500: '#300a2a',
    950: '#000000',
  },
}
SCSS
$custom: #300a2a;
$custom-light: #6a4c63;
$custom-dark: #000000;
JSON
{
  "hex": "#300a2a",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 42
  },
  "hsl": {
    "h": 309.474,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22635,
    "c": 0.0763,
    "h": 334.7
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#300A2A
secondary
#296D33
accent
#E85A3F
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #300A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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