#301134#301134

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

Color values

HEX#301134
RGBrgb(48, 17, 52)
HSLhsl(293, 51%, 14%)
HSVhsv(293, 67%, 20%)
CMYKcmyk(7.7%, 67.3%, 0%, 79.6%)
CIE-LABlab(11.12, 22.05, -16.15)
CIE-LCHlch(11.12, 27.34, 323.78°)
OKLaboklab(24.31% 0.0593 -0.0448)
OKLCHoklch(24.31% 0.074 323)
XYZxyz(2.0391, 1.2773, 3.3873)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301134 #153411
analogous
#1E1134 #301134 #341126
triadic
#301134 #343011 #113430
tetradic
#301134 #341E11 #153411 #112634
square
#301134 #341E11 #153411 #112634
split-complementary
#301134 #263411 #11341E
monochromatic
#150817 #150817 #301134 #5B2062 #852F90

Accessibility & contrast

On white

16.73
#301134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301134
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301134#FFFFFF#000000##FFFFFF
##3011341.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1B35
Deuteranopia (green-blind)
#161F33
Tritanopia (blue-blind)
#311620
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #301134;
/* rgb */ color: rgb(48, 17, 52);
/* oklch */ color: oklch(24.3% 0.074 323.0);
Tailwind
colors: {
  custom: {
    50: '#6a516b',
    500: '#301134',
    950: '#000000',
  },
}
SCSS
$custom: #301134;
$custom-light: #6a516b;
$custom-dark: #000000;
JSON
{
  "hex": "#301134",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 52
  },
  "hsl": {
    "h": 293.143,
    "s": 50.725,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24307,
    "c": 0.0743,
    "h": 323
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#301134
secondary
#3A6D34
accent
#DA4E5E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #301134

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

Preview Lab → · Contrast checker → · Palette generator →

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