#300A2F#300A2F

#300A2F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.081 H 328.9°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#300A2F
RGBrgb(48, 10, 47)
HSLhsl(302, 66%, 11%)
HSVhsv(302, 79%, 19%)
CMYKcmyk(0%, 79.2%, 2.1%, 81.2%)
CIE-LABlab(9.41, 24.75, -15.19)
CIE-LCHlch(9.41, 29.04, 328.46°)
OKLaboklab(22.96% 0.0695 -0.0419)
OKLCHoklch(22.96% 0.081 328.9)
XYZxyz(1.8405, 1.0508, 2.7947)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A2F #0A300B
analogous
#1E0A30 #300A2F #300A1C
triadic
#300A2F #2F300A #0A2F30
tetradic
#300A2F #301E0A #0A300B #0A1C30
square
#300A2F #301E0A #0A300B #0A1C30
split-complementary
#300A2F #1C300A #0A301E
monochromatic
#190519 #190519 #300A2F #631561 #951F92

Accessibility & contrast

On white

17.35
#300A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A2F
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A2F#FFFFFF#000000##FFFFFF
##300A2F1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061730
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#320F1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300a2f;
/* rgb */ color: rgb(48, 10, 47);
/* oklch */ color: oklch(23.0% 0.081 328.9);
Tailwind
colors: {
  custom: {
    50: '#6a4d67',
    500: '#300a2f',
    950: '#000000',
  },
}
SCSS
$custom: #300a2f;
$custom-light: #6a4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#300a2f",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 301.579,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22961,
    "c": 0.08118,
    "h": 328.9
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#300A2F
secondary
#296D2A
accent
#E8443F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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