#301036#301036

#301036 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.079 H 321.1°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#301036
RGBrgb(48, 16, 54)
HSLhsl(291, 54%, 14%)
HSVhsv(291, 70%, 21%)
CMYKcmyk(11.1%, 70.4%, 0%, 78.8%)
CIE-LABlab(11.03, 23.12, -17.73)
CIE-LCHlch(11.03, 29.13, 322.51°)
OKLaboklab(24.29% 0.0611 -0.0493)
OKLCHoklch(24.29% 0.079 321.1)
XYZxyz(2.0700, 1.2654, 3.6245)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301036 #163610
analogous
#1D1036 #301036 #361029
triadic
#301036 #363010 #103630
tetradic
#301036 #361D10 #163610 #102936
square
#301036 #361D10 #163610 #102936
split-complementary
#301036 #293610 #10361D
monochromatic
#150718 #150718 #301036 #5A1E65 #842C94

Accessibility & contrast

On white

16.76
#301036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301036
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301036#FFFFFF#000000##FFFFFF
##3010361.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081B37
Deuteranopia (green-blind)
#141F35
Tritanopia (blue-blind)
#301621
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #301036;
/* rgb */ color: rgb(48, 16, 54);
/* oklch */ color: oklch(24.3% 0.079 321.1);
Tailwind
colors: {
  custom: {
    50: '#6a506d',
    500: '#301036',
    950: '#000000',
  },
}
SCSS
$custom: #301036;
$custom-light: #6a506d;
$custom-dark: #000000;
JSON
{
  "hex": "#301036",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 290.526,
    "s": 54.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24288,
    "c": 0.0785,
    "h": 321.1
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#301036
secondary
#3C7032
accent
#DE4A61
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #301036

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

Preview Lab → · Contrast checker → · Palette generator →

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