#300539#300539

#300539 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.099 H 319.9°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#300539
RGBrgb(48, 5, 57)
HSLhsl(290, 84%, 12%)
HSVhsv(290, 91%, 22%)
CMYKcmyk(15.8%, 91.2%, 0%, 77.6%)
CIE-LABlab(9.26, 29.43, -22.73)
CIE-LCHlch(9.26, 37.19, 322.32°)
OKLaboklab(23.09% 0.0759 -0.0639)
OKLCHoklch(23.09% 0.099 319.9)
XYZxyz(2.0116, 1.0324, 3.9634)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300539 #0E3905
analogous
#160539 #300539 #390528
triadic
#300539 #393005 #053930
tetradic
#300539 #391605 #0E3905 #052839
square
#300539 #391605 #0E3905 #052839
split-complementary
#300539 #283905 #053916
monochromatic
#18021C #18021C #300539 #5F0A71 #8F0FAA

Accessibility & contrast

On white

17.41
#300539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#300539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300539
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300539#FFFFFF#000000##FFFFFF
##3005391.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#091B38
Tritanopia (blue-blind)
#30101F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300539;
/* rgb */ color: rgb(48, 5, 57);
/* oklch */ color: oklch(23.1% 0.099 319.9);
Tailwind
colors: {
  custom: {
    50: '#6b4b70',
    500: '#300539',
    950: '#000000',
  },
}
SCSS
$custom: #300539;
$custom-light: #6b4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#300539",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 289.615,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23089,
    "c": 0.09918,
    "h": 319.9
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#300539
secondary
#2F7A20
accent
#FA2E51
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300539

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

Preview Lab → · Contrast checker → · Palette generator →

#300539 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva