#300339#300339

#300339 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.102 H 320.2°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#300339
RGBrgb(48, 3, 57)
HSLhsl(290, 90%, 12%)
HSVhsv(290, 95%, 22%)
CMYKcmyk(15.8%, 94.7%, 0%, 77.6%)
CIE-LABlab(8.90, 30.48, -23.31)
CIE-LCHlch(8.90, 38.37, 322.59°)
OKLaboklab(22.84% 0.0786 -0.0655)
OKLCHoklch(22.84% 0.102 320.2)
XYZxyz(1.9899, 0.9890, 3.9562)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300339 #0C3903
analogous
#150339 #300339 #390327
triadic
#300339 #393003 #033930
tetradic
#300339 #391503 #0C3903 #032739
square
#300339 #391503 #0C3903 #032739
split-complementary
#300339 #273903 #033915
monochromatic
#18021D #18021D #300339 #610673 #9209AD

Accessibility & contrast

On white

17.53
#300339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#300339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300339
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300339#FFFFFF#000000##FFFFFF
##3003391.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#081B38
Tritanopia (blue-blind)
#300E1E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #300339;
/* rgb */ color: rgb(48, 3, 57);
/* oklch */ color: oklch(22.8% 0.102 320.2);
Tailwind
colors: {
  custom: {
    50: '#6b4a70',
    500: '#300339',
    950: '#000000',
  },
}
SCSS
$custom: #300339;
$custom-light: #6b4a70;
$custom-dark: #000000;
JSON
{
  "hex": "#300339",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 290,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22837,
    "c": 0.10236,
    "h": 320.2
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#300339
secondary
#2C7C1C
accent
#FF294D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300339

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

Preview Lab → · Contrast checker → · Palette generator →

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