#301A91#301A91

#301A91 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.179 H 279.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#301A91
RGBrgb(48, 26, 145)
HSLhsl(251, 70%, 34%)
HSVhsv(251, 82%, 57%)
CMYKcmyk(66.9%, 82.1%, 0%, 43.1%)
CIE-LABlab(21.62, 44.36, -60.92)
CIE-LCHlch(21.62, 75.37, 306.06°)
OKLaboklab(34.42% 0.0307 -0.1759)
OKLCHoklch(34.42% 0.179 279.9)
XYZxyz(6.6975, 3.4110, 27.0880)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A91 #7B911A
analogous
#1A3F91 #301A91 #6B1A91
triadic
#301A91 #91301A #1A9130
tetradic
#301A91 #911A3F #7B911A #1A916B
square
#301A91 #911A3F #7B911A #1A916B
split-complementary
#301A91 #916B1A #3F911A
monochromatic
#0E0729 #1F115D #301A91 #4123C5 #6347DE

Accessibility & contrast

On white

12.48
#301A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#301A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A91
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A91#FFFFFF#000000##FFFFFF
##301A911.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003894
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #301a91;
/* rgb */ color: rgb(48, 26, 145);
/* oklch */ color: oklch(34.4% 0.179 279.9);
Tailwind
colors: {
  custom: {
    50: '#775bb2',
    500: '#301a91',
    950: '#000000',
  },
}
SCSS
$custom: #301a91;
$custom-light: #775bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#301a91",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 251.092,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34425,
    "c": 0.17854,
    "h": 279.9
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#301A91
secondary
#A9C047
accent
#EC3BCC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301A91

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

Preview Lab → · Contrast checker → · Palette generator →

#301A91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva