#300A33#300A33

#300A33 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.085 H 324.8°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#300A33
RGBrgb(48, 10, 51)
HSLhsl(296, 67%, 12%)
HSVhsv(296, 80%, 20%)
CMYKcmyk(5.9%, 80.4%, 0%, 80%)
CIE-LABlab(9.68, 25.61, -17.70)
CIE-LCHlch(9.68, 31.13, 325.35°)
OKLaboklab(23.24% 0.0697 -0.0492)
OKLCHoklch(23.24% 0.085 324.8)
XYZxyz(1.9250, 1.0846, 3.2393)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A33 #0D330A
analogous
#1C0A33 #300A33 #330A22
triadic
#300A33 #33300A #0A3330
tetradic
#300A33 #331C0A #0D330A #0A2233
square
#300A33 #331C0A #0D330A #0A2233
split-complementary
#300A33 #22330A #0A331C
monochromatic
#18051A #18051A #300A33 #601466 #901E99

Accessibility & contrast

On white

17.26
#300A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#300A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300A33
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A33#FFFFFF#000000##FFFFFF
##300A331.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031834
Deuteranopia (green-blind)
#121C32
Tritanopia (blue-blind)
#31111D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300a33;
/* rgb */ color: rgb(48, 10, 51);
/* oklch */ color: oklch(23.2% 0.085 324.8);
Tailwind
colors: {
  custom: {
    50: '#6a4d6b',
    500: '#300a33',
    950: '#000000',
  },
}
SCSS
$custom: #300a33;
$custom-light: #6a4d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#300a33",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 295.61,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23242,
    "c": 0.08528,
    "h": 324.8
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#300A33
secondary
#2E7028
accent
#EA3E4A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300A33

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

Preview Lab → · Contrast checker → · Palette generator →

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