#300336#300336

#300336 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.100 H 322.7°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#300336
RGBrgb(48, 3, 54)
HSLhsl(293, 89%, 11%)
HSVhsv(293, 94%, 21%)
CMYKcmyk(11.1%, 94.4%, 0%, 78.8%)
CIE-LABlab(8.65, 29.84, -21.53)
CIE-LCHlch(8.65, 36.80, 324.19°)
OKLaboklab(22.59% 0.0792 -0.0603)
OKLCHoklch(22.59% 0.1 322.7)
XYZxyz(1.9173, 0.9600, 3.5736)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300336 #093603
analogous
#160336 #300336 #360322
triadic
#300336 #363003 #033630
tetradic
#300336 #361603 #093603 #032236
square
#300336 #361603 #093603 #032236
split-complementary
#300336 #223603 #033616
monochromatic
#1A021D #1A021D #300336 #640670 #9709AA

Accessibility & contrast

On white

17.62
#300336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#300336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300336
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300336#FFFFFF#000000##FFFFFF
##3003361.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#0B1A35
Tritanopia (blue-blind)
#310D1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #300336;
/* rgb */ color: rgb(48, 3, 54);
/* oklch */ color: oklch(22.6% 0.100 322.7);
Tailwind
colors: {
  custom: {
    50: '#6b496d',
    500: '#300336',
    950: '#000000',
  },
}
SCSS
$custom: #300336;
$custom-light: #6b496d;
$custom-dark: #000000;
JSON
{
  "hex": "#300336",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 292.941,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22586,
    "c": 0.09956,
    "h": 322.7
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#300336
secondary
#27791C
accent
#FF2942
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #300336

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

Preview Lab → · Contrast checker → · Palette generator →

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