#301736#301736

#301736 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.5% C 0.065 H 319.6°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#301736
RGBrgb(48, 23, 54)
HSLhsl(288, 40%, 15%)
HSVhsv(288, 57%, 21%)
CMYKcmyk(11.1%, 57.4%, 0%, 78.8%)
CIE-LABlab(12.66, 18.78, -15.17)
CIE-LCHlch(12.66, 24.14, 321.08°)
OKLaboklab(25.48% 0.0494 -0.042)
OKLCHoklch(25.48% 0.065 319.6)
XYZxyz(2.1911, 1.5076, 3.6649)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301736 #1D3617
analogous
#201736 #301736 #36172C
triadic
#301736 #363017 #173630
tetradic
#301736 #362017 #1D3617 #172C36
square
#301736 #362017 #1D3617 #172C36
split-complementary
#301736 #2C3617 #173620
monochromatic
#130915 #130915 #301736 #562961 #7C3C8C

Accessibility & contrast

On white

16.13
#301736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#301736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301736
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301736#FFFFFF#000000##FFFFFF
##3017361.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F37
Deuteranopia (green-blind)
#192235
Tritanopia (blue-blind)
#301B24
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #301736;
/* rgb */ color: rgb(48, 23, 54);
/* oklch */ color: oklch(25.5% 0.065 319.6);
Tailwind
colors: {
  custom: {
    50: '#69556d',
    500: '#301736',
    950: '#000000',
  },
}
SCSS
$custom: #301736;
$custom-light: #69556d;
$custom-dark: #000000;
JSON
{
  "hex": "#301736",
  "rgb": {
    "r": 48,
    "g": 23,
    "b": 54
  },
  "hsl": {
    "h": 288.387,
    "s": 40.26,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25482,
    "c": 0.06479,
    "h": 319.6
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#301736
secondary
#466C3D
accent
#D0586F
background
#F6F4F6
surface
#EBE8EB
border
#C6C4C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #301736

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

Preview Lab → · Contrast checker → · Palette generator →

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