#300536#300536

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

Color values

HEX#300536
RGBrgb(48, 5, 54)
HSLhsl(293, 83%, 12%)
HSVhsv(293, 91%, 21%)
CMYKcmyk(11.1%, 90.7%, 0%, 78.8%)
CIE-LABlab(9.02, 28.78, -20.94)
CIE-LCHlch(9.02, 35.59, 323.96°)
OKLaboklab(22.84% 0.0763 -0.0586)
OKLCHoklch(22.84% 0.096 322.5)
XYZxyz(1.9390, 1.0034, 3.5809)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300536 #0B3605
analogous
#180536 #300536 #360524
triadic
#300536 #363005 #053630
tetradic
#300536 #361805 #0B3605 #052436
square
#300536 #361805 #0B3605 #052436
split-complementary
#300536 #243605 #053618
monochromatic
#19031C #19031C #300536 #620A6E #940FA6

Accessibility & contrast

On white

17.49
#300536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300536
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300536#FFFFFF#000000##FFFFFF
##3005361.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#0C1B35
Tritanopia (blue-blind)
#310E1D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300536;
/* rgb */ color: rgb(48, 5, 54);
/* oklch */ color: oklch(22.8% 0.096 322.5);
Tailwind
colors: {
  custom: {
    50: '#6b4a6d',
    500: '#300536',
    950: '#000000',
  },
}
SCSS
$custom: #300536;
$custom-light: #6b4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#300536",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 292.653,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22844,
    "c": 0.09624,
    "h": 322.5
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#300536
secondary
#2A7720
accent
#F92E47
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #300536

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

Preview Lab → · Contrast checker → · Palette generator →

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