#300A2D#300A2D

#300A2D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.079 H 331.1°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#300A2D
RGBrgb(48, 10, 45)
HSLhsl(305, 66%, 11%)
HSVhsv(305, 79%, 19%)
CMYKcmyk(0%, 79.2%, 6.2%, 81.2%)
CIE-LABlab(9.28, 24.33, -13.91)
CIE-LCHlch(9.28, 28.03, 330.25°)
OKLaboklab(22.83% 0.0694 -0.0382)
OKLCHoklch(22.83% 0.079 331.1)
XYZxyz(1.8011, 1.0351, 2.5870)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A2D #0A300D
analogous
#200A30 #300A2D #300A1A
triadic
#300A2D #2D300A #0A2D30
tetradic
#300A2D #30200A #0A300D #0A1A30
square
#300A2D #30200A #0A300D #0A1A30
split-complementary
#300A2D #1A300A #0A3020
monochromatic
#190518 #190518 #300A2D #63155C #951F8C

Accessibility & contrast

On white

17.40
#300A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A2D
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A2D#FFFFFF#000000##FFFFFF
##300A2D1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172E
Deuteranopia (green-blind)
#151C2C
Tritanopia (blue-blind)
#320E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300a2d;
/* rgb */ color: rgb(48, 10, 45);
/* oklch */ color: oklch(22.8% 0.079 331.1);
Tailwind
colors: {
  custom: {
    50: '#6a4d66',
    500: '#300a2d',
    950: '#000000',
  },
}
SCSS
$custom: #300a2d;
$custom-light: #6a4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#300a2d",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 304.737,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22827,
    "c": 0.07918,
    "h": 331.1
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#300A2D
secondary
#296D2E
accent
#E84D3F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #300A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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