#301334#301334

#301334 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.070 H 322.6°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#301334
RGBrgb(48, 19, 52)
HSLhsl(293, 46%, 14%)
HSVhsv(293, 63%, 20%)
CMYKcmyk(7.7%, 63.5%, 0%, 79.6%)
CIE-LABlab(11.57, 20.84, -15.44)
CIE-LCHlch(11.57, 25.94, 323.47°)
OKLaboklab(24.64% 0.056 -0.0427)
OKLCHoklch(24.64% 0.07 322.6)
XYZxyz(2.0716, 1.3422, 3.3981)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301334 #173413
analogous
#201334 #301334 #341328
triadic
#301334 #343013 #133430
tetradic
#301334 #342013 #173413 #132834
square
#301334 #342013 #173413 #132834
split-complementary
#301334 #283413 #133420
monochromatic
#150816 #150816 #301334 #592361 #83348E

Accessibility & contrast

On white

16.56
#301334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#301334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301334
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301334#FFFFFF#000000##FFFFFF
##3013341.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1C35
Deuteranopia (green-blind)
#172033
Tritanopia (blue-blind)
#311721
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #301334;
/* rgb */ color: rgb(48, 19, 52);
/* oklch */ color: oklch(24.6% 0.070 322.6);
Tailwind
colors: {
  custom: {
    50: '#69526b',
    500: '#301334',
    950: '#000000',
  },
}
SCSS
$custom: #301334;
$custom-light: #69526b;
$custom-dark: #000000;
JSON
{
  "hex": "#301334",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 292.727,
    "s": 46.479,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24638,
    "c": 0.07041,
    "h": 322.6
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#301334
secondary
#3D6C37
accent
#D65262
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #301334

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

Preview Lab → · Contrast checker → · Palette generator →

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