#301135#301135

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

Color values

HEX#301135
RGBrgb(48, 17, 53)
HSLhsl(292, 51%, 14%)
HSVhsv(292, 68%, 21%)
CMYKcmyk(9.4%, 67.9%, 0%, 79.2%)
CIE-LABlab(11.18, 22.29, -16.77)
CIE-LCHlch(11.18, 27.90, 323.04°)
OKLaboklab(24.38% 0.0594 -0.0466)
OKLCHoklch(24.38% 0.075 321.9)
XYZxyz(2.0619, 1.2864, 3.5072)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301135 #163511
analogous
#1E1135 #301135 #351128
triadic
#301135 #353011 #113530
tetradic
#301135 #351E11 #163511 #112835
square
#301135 #351E11 #163511 #112835
split-complementary
#301135 #283511 #11351E
monochromatic
#150717 #150717 #301135 #5A2063 #842F92

Accessibility & contrast

On white

16.70
#301135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301135
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301135#FFFFFF#000000##FFFFFF
##3011351.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1C36
Deuteranopia (green-blind)
#151F34
Tritanopia (blue-blind)
#311621
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #301135;
/* rgb */ color: rgb(48, 17, 53);
/* oklch */ color: oklch(24.4% 0.075 321.9);
Tailwind
colors: {
  custom: {
    50: '#6a516c',
    500: '#301135',
    950: '#000000',
  },
}
SCSS
$custom: #301135;
$custom-light: #6a516c;
$custom-dark: #000000;
JSON
{
  "hex": "#301135",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 291.667,
    "s": 51.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24375,
    "c": 0.07547,
    "h": 321.9
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#301135
secondary
#3C6E34
accent
#DB4D61
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #301135

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

Preview Lab → · Contrast checker → · Palette generator →

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