#301035#301035

#301035 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.2% C 0.077 H 322.1°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#301035
RGBrgb(48, 16, 53)
HSLhsl(292, 54%, 14%)
HSVhsv(292, 70%, 21%)
CMYKcmyk(9.4%, 69.8%, 0%, 79.2%)
CIE-LABlab(10.96, 22.88, -17.11)
CIE-LCHlch(10.96, 28.57, 323.20°)
OKLaboklab(24.22% 0.061 -0.0475)
OKLCHoklch(24.22% 0.077 322.1)
XYZxyz(2.0468, 1.2561, 3.5021)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301035 #153510
analogous
#1D1035 #301035 #351027
triadic
#301035 #353010 #103530
tetradic
#301035 #351D10 #153510 #102735
square
#301035 #351D10 #153510 #102735
split-complementary
#301035 #273510 #10351D
monochromatic
#150718 #150718 #301035 #5B1E64 #852C93

Accessibility & contrast

On white

16.78
#301035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301035
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301035#FFFFFF#000000##FFFFFF
##3010351.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B36
Deuteranopia (green-blind)
#141F34
Tritanopia (blue-blind)
#311620
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #301035;
/* rgb */ color: rgb(48, 16, 53);
/* oklch */ color: oklch(24.2% 0.077 322.1);
Tailwind
colors: {
  custom: {
    50: '#6a506c',
    500: '#301035',
    950: '#000000',
  },
}
SCSS
$custom: #301035;
$custom-light: #6a506c;
$custom-dark: #000000;
JSON
{
  "hex": "#301035",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 291.892,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24218,
    "c": 0.07733,
    "h": 322.1
  },
  "luminance": 0.01256
}

Semantic roles & 50–950 ramp

primary
#301035
secondary
#3A6F32
accent
#DD4B5F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #301035

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

Preview Lab → · Contrast checker → · Palette generator →

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