#301032#301032

#301032 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.074 H 325.2°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#301032
RGBrgb(48, 16, 50)
HSLhsl(296, 52%, 13%)
HSVhsv(296, 68%, 20%)
CMYKcmyk(4%, 68%, 0%, 80.4%)
CIE-LABlab(10.77, 22.18, -15.24)
CIE-LCHlch(10.77, 26.91, 325.51°)
OKLaboklab(24.02% 0.0607 -0.0421)
OKLCHoklch(24.02% 0.074 325.2)
XYZxyz(1.9799, 1.2294, 3.1500)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301032 #123210
analogous
#1F1032 #301032 #321023
triadic
#301032 #323010 #103230
tetradic
#301032 #321F10 #123210 #102332
square
#301032 #321F10 #123210 #102332
split-complementary
#301032 #233210 #10321F
monochromatic
#160717 #160717 #301032 #5D1F60 #892E8F

Accessibility & contrast

On white

16.86
#301032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#301032 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301032
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301032#FFFFFF#000000##FFFFFF
##3010321.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1A33
Deuteranopia (green-blind)
#161E31
Tritanopia (blue-blind)
#31141F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #301032;
/* rgb */ color: rgb(48, 16, 50);
/* oklch */ color: oklch(24.0% 0.074 325.2);
Tailwind
colors: {
  custom: {
    50: '#6a506a',
    500: '#301032',
    950: '#000000',
  },
}
SCSS
$custom: #301032;
$custom-light: #6a506a;
$custom-dark: #000000;
JSON
{
  "hex": "#301032",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 296.471,
    "s": 51.515,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24015,
    "c": 0.07388,
    "h": 325.2
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#301032
secondary
#366B32
accent
#DB4D55
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #301032

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

Preview Lab → · Contrast checker → · Palette generator →

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