#301536#301536

#301536 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.069 H 320.1°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#301536
RGBrgb(48, 21, 54)
HSLhsl(289, 44%, 15%)
HSVhsv(289, 61%, 21%)
CMYKcmyk(11.1%, 61.1%, 0%, 78.8%)
CIE-LABlab(12.16, 20.08, -15.94)
CIE-LCHlch(12.16, 25.64, 321.55°)
OKLaboklab(25.12% 0.0528 -0.0442)
OKLCHoklch(25.12% 0.069 320.1)
XYZxyz(2.1529, 1.4311, 3.6521)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301536 #1B3615
analogous
#201536 #301536 #36152C
triadic
#301536 #363015 #153630
tetradic
#301536 #362015 #1B3615 #152C36
square
#301536 #362015 #1B3615 #152C36
split-complementary
#301536 #2C3615 #153620
monochromatic
#140916 #140916 #301536 #572662 #7E378E

Accessibility & contrast

On white

16.33
#301536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#301536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301536
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301536#FFFFFF#000000##FFFFFF
##3015361.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1E37
Deuteranopia (green-blind)
#182135
Tritanopia (blue-blind)
#301A23
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #301536;
/* rgb */ color: rgb(48, 21, 54);
/* oklch */ color: oklch(25.1% 0.069 320.1);
Tailwind
colors: {
  custom: {
    50: '#69536d',
    500: '#301536',
    950: '#000000',
  },
}
SCSS
$custom: #301536;
$custom-light: #69536d;
$custom-dark: #000000;
JSON
{
  "hex": "#301536",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 289.091,
    "s": 44,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25117,
    "c": 0.06889,
    "h": 320.1
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#301536
secondary
#436D3A
accent
#D4546B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #301536

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

Preview Lab → · Contrast checker → · Palette generator →

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