#301030#301030

#301030 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.072 H 327.5°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#301030
RGBrgb(48, 16, 48)
HSLhsl(300, 50%, 13%)
HSVhsv(300, 67%, 19%)
CMYKcmyk(0%, 66.7%, 0%, 81.2%)
CIE-LABlab(10.65, 21.72, -13.97)
CIE-LCHlch(10.65, 25.83, 327.25°)
OKLaboklab(23.88% 0.0604 -0.0385)
OKLCHoklch(23.88% 0.072 327.5)
XYZxyz(1.9377, 1.2125, 2.9277)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301030 #103010
analogous
#201030 #301030 #301020
triadic
#301030 #303010 #103030
tetradic
#301030 #302010 #103010 #102030
square
#301030 #302010 #103010 #102030
split-complementary
#301030 #203010 #103020
monochromatic
#170817 #170817 #301030 #5E1F5E #8C2F8C

Accessibility & contrast

On white

16.90
#301030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#301030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301030
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301030#FFFFFF#000000##FFFFFF
##3010301.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A31
Deuteranopia (green-blind)
#171E2F
Tritanopia (blue-blind)
#32141E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #301030;
/* rgb */ color: rgb(48, 16, 48);
/* oklch */ color: oklch(23.9% 0.072 327.5);
Tailwind
colors: {
  custom: {
    50: '#6a5068',
    500: '#301030',
    950: '#000000',
  },
}
SCSS
$custom: #301030;
$custom-light: #6a5068;
$custom-dark: #000000;
JSON
{
  "hex": "#301030",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 48
  },
  "hsl": {
    "h": 300,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23884,
    "c": 0.07164,
    "h": 327.5
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#301030
secondary
#336933
accent
#DA4E4E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #301030

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

Preview Lab → · Contrast checker → · Palette generator →

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