#301537#301537

#301537 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.070 H 319.0°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#301537
RGBrgb(48, 21, 55)
HSLhsl(288, 45%, 15%)
HSVhsv(288, 62%, 22%)
CMYKcmyk(12.7%, 61.8%, 0%, 78.4%)
CIE-LABlab(12.23, 20.33, -16.56)
CIE-LCHlch(12.23, 26.22, 320.83°)
OKLaboklab(25.18% 0.053 -0.046)
OKLCHoklch(25.18% 0.07 319)
XYZxyz(2.1766, 1.4406, 3.7771)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301537 #1C3715
analogous
#1F1537 #301537 #37152D
triadic
#301537 #373015 #153730
tetradic
#301537 #371F15 #1C3715 #152D37
square
#301537 #371F15 #1C3715 #152D37
split-complementary
#301537 #2D3715 #15371F
monochromatic
#130816 #130816 #301537 #572663 #7D3790

Accessibility & contrast

On white

16.30
#301537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301537
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301537#FFFFFF#000000##FFFFFF
##3015371.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301537;
/* rgb */ color: rgb(48, 21, 55);
/* oklch */ color: oklch(25.2% 0.070 319.0);
Tailwind
colors: {
  custom: {
    50: '#69536e',
    500: '#301537',
    950: '#000000',
  },
}
SCSS
$custom: #301537;
$custom-light: #69536e;
$custom-dark: #000000;
JSON
{
  "hex": "#301537",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 287.647,
    "s": 44.737,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25183,
    "c": 0.07016,
    "h": 319
  },
  "luminance": 0.01441
}

Semantic roles & 50–950 ramp

primary
#301537
secondary
#446E3A
accent
#D4536E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #301537

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

Preview Lab → · Contrast checker → · Palette generator →

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