#301335#301335

#301335 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.7% C 0.072 H 321.6°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#301335
RGBrgb(48, 19, 53)
HSLhsl(291, 47%, 14%)
HSVhsv(291, 64%, 21%)
CMYKcmyk(9.4%, 64.2%, 0%, 79.2%)
CIE-LABlab(11.63, 21.08, -16.06)
CIE-LCHlch(11.63, 26.50, 322.69°)
OKLaboklab(24.7% 0.0561 -0.0445)
OKLCHoklch(24.7% 0.072 321.6)
XYZxyz(2.0943, 1.3513, 3.5180)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301335 #183513
analogous
#1F1335 #301335 #351329
triadic
#301335 #353013 #133530
tetradic
#301335 #351F13 #183513 #132935
square
#301335 #351F13 #183513 #132935
split-complementary
#301335 #293513 #13351F
monochromatic
#140817 #140817 #301335 #592362 #82338F

Accessibility & contrast

On white

16.53
#301335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301335
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301335#FFFFFF#000000##FFFFFF
##3013351.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1D36
Deuteranopia (green-blind)
#172034
Tritanopia (blue-blind)
#311821
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #301335;
/* rgb */ color: rgb(48, 19, 53);
/* oklch */ color: oklch(24.7% 0.072 321.6);
Tailwind
colors: {
  custom: {
    50: '#69526c',
    500: '#301335',
    950: '#000000',
  },
}
SCSS
$custom: #301335;
$custom-light: #69526c;
$custom-dark: #000000;
JSON
{
  "hex": "#301335",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 291.176,
    "s": 47.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24704,
    "c": 0.07163,
    "h": 321.6
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#301335
secondary
#3F6D37
accent
#D75165
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #301335

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

Preview Lab → · Contrast checker → · Palette generator →

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