#300736#300736

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

Color values

HEX#300736
RGBrgb(48, 7, 54)
HSLhsl(292, 77%, 12%)
HSVhsv(292, 87%, 21%)
CMYKcmyk(11.1%, 87%, 0%, 78.8%)
CIE-LABlab(9.38, 27.75, -20.37)
CIE-LCHlch(9.38, 34.43, 323.72°)
OKLaboklab(23.1% 0.0736 -0.057)
OKLCHoklch(23.1% 0.093 322.3)
XYZxyz(1.9607, 1.0468, 3.5881)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300736 #0D3607
analogous
#190736 #300736 #360725
triadic
#300736 #363007 #073630
tetradic
#300736 #361907 #0D3607 #072536
square
#300736 #361907 #0D3607 #072536
split-complementary
#300736 #253607 #073619
monochromatic
#18041B #18041B #300736 #600E6C #9015A2

Accessibility & contrast

On white

17.36
#300736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300736
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300736#FFFFFF#000000##FFFFFF
##3007361.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#31101E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300736;
/* rgb */ color: rgb(48, 7, 54);
/* oklch */ color: oklch(23.1% 0.093 322.3);
Tailwind
colors: {
  custom: {
    50: '#6a4c6d',
    500: '#300736',
    950: '#000000',
  },
}
SCSS
$custom: #300736;
$custom-light: #6a4c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#300736",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 292.34,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23096,
    "c": 0.09304,
    "h": 322.3
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#300736
secondary
#2E7623
accent
#F4344D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #300736

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

Preview Lab → · Contrast checker → · Palette generator →

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