#301331#301331

#301331 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.067 H 326.1°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#301331
RGBrgb(48, 19, 49)
HSLhsl(298, 44%, 13%)
HSVhsv(298, 61%, 19%)
CMYKcmyk(2%, 61.2%, 0%, 80.8%)
CIE-LABlab(11.39, 20.13, -13.54)
CIE-LCHlch(11.39, 24.26, 326.07°)
OKLaboklab(24.45% 0.0555 -0.0373)
OKLCHoklch(24.45% 0.067 326.1)
XYZxyz(2.0061, 1.3160, 3.0535)
Luminance0.0132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301331 #143113
analogous
#211331 #301331 #311323
triadic
#301331 #313013 #133130
tetradic
#301331 #312113 #143113 #132331
square
#301331 #312113 #143113 #132331
split-complementary
#301331 #233113 #133121
monochromatic
#160916 #160916 #301331 #5B245D #863589

Accessibility & contrast

On white

16.62
#301331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#301331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301331
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301331#FFFFFF#000000##FFFFFF
##3013311.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101C32
Deuteranopia (green-blind)
#192030
Tritanopia (blue-blind)
#31161F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #301331;
/* rgb */ color: rgb(48, 19, 49);
/* oklch */ color: oklch(24.4% 0.067 326.1);
Tailwind
colors: {
  custom: {
    50: '#695269',
    500: '#301331',
    950: '#000000',
  },
}
SCSS
$custom: #301331;
$custom-light: #695269;
$custom-dark: #000000;
JSON
{
  "hex": "#301331",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 298,
    "s": 44.118,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24446,
    "c": 0.06685,
    "h": 326.1
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#301331
secondary
#396937
accent
#D45458
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #301331

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

Preview Lab → · Contrast checker → · Palette generator →

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