#301034#301034

#301034 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.076 H 323.1°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#301034
RGBrgb(48, 16, 52)
HSLhsl(293, 53%, 13%)
HSVhsv(293, 69%, 20%)
CMYKcmyk(7.7%, 69.2%, 0%, 79.6%)
CIE-LABlab(10.90, 22.64, -16.49)
CIE-LCHlch(10.90, 28.01, 323.93°)
OKLaboklab(24.15% 0.0609 -0.0457)
OKLCHoklch(24.15% 0.076 323.1)
XYZxyz(2.0240, 1.2470, 3.3822)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301034 #143410
analogous
#1E1034 #301034 #341026
triadic
#301034 #343010 #103430
tetradic
#301034 #341E10 #143410 #102634
square
#301034 #341E10 #143410 #102634
split-complementary
#301034 #263410 #10341E
monochromatic
#160717 #160717 #301034 #5B1E63 #862D92

Accessibility & contrast

On white

16.81
#301034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301034
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301034#FFFFFF#000000##FFFFFF
##3010341.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1B35
Deuteranopia (green-blind)
#151F33
Tritanopia (blue-blind)
#311520
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #301034;
/* rgb */ color: rgb(48, 16, 52);
/* oklch */ color: oklch(24.1% 0.076 323.1);
Tailwind
colors: {
  custom: {
    50: '#6a506b',
    500: '#301034',
    950: '#000000',
  },
}
SCSS
$custom: #301034;
$custom-light: #6a506b;
$custom-dark: #000000;
JSON
{
  "hex": "#301034",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 293.333,
    "s": 52.941,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24149,
    "c": 0.07616,
    "h": 323.1
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#301034
secondary
#396E32
accent
#DC4B5C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #301034

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

Preview Lab → · Contrast checker → · Palette generator →

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