#300436#300436

#300436 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.098 H 322.6°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#300436
RGBrgb(48, 4, 54)
HSLhsl(293, 86%, 11%)
HSVhsv(293, 93%, 21%)
CMYKcmyk(11.1%, 92.6%, 0%, 78.8%)
CIE-LABlab(8.84, 29.30, -21.23)
CIE-LCHlch(8.84, 36.19, 324.08°)
OKLaboklab(22.72% 0.0778 -0.0594)
OKLCHoklch(22.72% 0.098 322.6)
XYZxyz(1.9281, 0.9817, 3.5772)
Luminance0.0098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300436 #0A3604
analogous
#170436 #300436 #360423
triadic
#300436 #363004 #043630
tetradic
#300436 #361704 #0A3604 #042336
square
#300436 #361704 #0A3604 #042336
split-complementary
#300436 #233604 #043617
monochromatic
#19021C #19021C #300436 #63086F #950CA8

Accessibility & contrast

On white

17.55
#300436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300436
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300436#FFFFFF#000000##FFFFFF
##3004361.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #300436;
/* rgb */ color: rgb(48, 4, 54);
/* oklch */ color: oklch(22.7% 0.098 322.6);
Tailwind
colors: {
  custom: {
    50: '#6b4a6d',
    500: '#300436',
    950: '#000000',
  },
}
SCSS
$custom: #300436;
$custom-light: #6b4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#300436",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 292.8,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22716,
    "c": 0.09788,
    "h": 322.6
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#300436
secondary
#29781E
accent
#FC2B44
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #300436

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

Preview Lab → · Contrast checker → · Palette generator →

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