#300A2E#300A2E

#300A2E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.080 H 330.0°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#300A2E
RGBrgb(48, 10, 46)
HSLhsl(303, 66%, 11%)
HSVhsv(303, 79%, 19%)
CMYKcmyk(0%, 79.2%, 4.2%, 81.2%)
CIE-LABlab(9.34, 24.54, -14.55)
CIE-LCHlch(9.34, 28.53, 329.34°)
OKLaboklab(22.89% 0.0694 -0.0401)
OKLCHoklch(22.89% 0.08 330)
XYZxyz(1.8206, 1.0429, 2.6896)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A2E #0A300C
analogous
#1F0A30 #300A2E #300A1B
triadic
#300A2E #2E300A #0A2E30
tetradic
#300A2E #301F0A #0A300C #0A1B30
square
#300A2E #301F0A #0A300C #0A1B30
split-complementary
#300A2E #1B300A #0A301F
monochromatic
#190518 #190518 #300A2E #63155F #951F8F

Accessibility & contrast

On white

17.38
#300A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A2E
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A2E#FFFFFF#000000##FFFFFF
##300A2E1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07172F
Deuteranopia (green-blind)
#141C2D
Tritanopia (blue-blind)
#320E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300a2e;
/* rgb */ color: rgb(48, 10, 46);
/* oklch */ color: oklch(22.9% 0.080 330.0);
Tailwind
colors: {
  custom: {
    50: '#6a4d67',
    500: '#300a2e',
    950: '#000000',
  },
}
SCSS
$custom: #300a2e;
$custom-light: #6a4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#300a2e",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 303.158,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22893,
    "c": 0.08017,
    "h": 330
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#300A2E
secondary
#296D2C
accent
#E8483F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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