#301139#301139

#301139 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.080 H 318.0°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#301139
RGBrgb(48, 17, 57)
HSLhsl(287, 54%, 15%)
HSVhsv(287, 70%, 22%)
CMYKcmyk(15.8%, 70.2%, 0%, 77.6%)
CIE-LABlab(11.45, 23.27, -19.23)
CIE-LCHlch(11.45, 30.19, 320.43°)
OKLaboklab(24.66% 0.0596 -0.0537)
OKLCHoklch(24.66% 0.08 318)
XYZxyz(2.1578, 1.3248, 4.0121)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301139 #1A3911
analogous
#1C1139 #301139 #39112E
triadic
#301139 #393011 #113930
tetradic
#301139 #391C11 #1A3911 #112E39
square
#301139 #391C11 #1A3911 #112E39
split-complementary
#301139 #2E3911 #11391C
monochromatic
#140718 #140718 #301139 #581F68 #7F2D97

Accessibility & contrast

On white

16.60
#301139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301139
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301139#FFFFFF#000000##FFFFFF
##3011391.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071C3A
Deuteranopia (green-blind)
#131F38
Tritanopia (blue-blind)
#301823
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #301139;
/* rgb */ color: rgb(48, 17, 57);
/* oklch */ color: oklch(24.7% 0.080 318.0);
Tailwind
colors: {
  custom: {
    50: '#6a516f',
    500: '#301139',
    950: '#000000',
  },
}
SCSS
$custom: #301139;
$custom-light: #6a516f;
$custom-dark: #000000;
JSON
{
  "hex": "#301139",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 286.5,
    "s": 54.054,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24656,
    "c": 0.08027,
    "h": 318
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#301139
secondary
#427234
accent
#DD4A6B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #301139

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

Preview Lab → · Contrast checker → · Palette generator →

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