#301A93#301A93

#301A93 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.181 H 279.6°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#301A93
RGBrgb(48, 26, 147)
HSLhsl(251, 70%, 34%)
HSVhsv(251, 82%, 58%)
CMYKcmyk(67.3%, 82.3%, 0%, 42.4%)
CIE-LABlab(21.85, 44.97, -61.79)
CIE-LCHlch(21.85, 76.42, 306.05°)
OKLaboklab(34.65% 0.03 -0.1784)
OKLCHoklch(34.65% 0.181 279.6)
XYZxyz(6.8531, 3.4732, 27.9074)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A93 #7D931A
analogous
#1A4193 #301A93 #6D1A93
triadic
#301A93 #93301A #1A9330
tetradic
#301A93 #931A41 #7D931A #1A936D
square
#301A93 #931A41 #7D931A #1A936D
split-complementary
#301A93 #936D1A #41931A
monochromatic
#0E082B #1F115F #301A93 #4123C7 #6449DF

Accessibility & contrast

On white

12.39
#301A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#301A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A93
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A93#FFFFFF#000000##FFFFFF
##301A931.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #301a93;
/* rgb */ color: rgb(48, 26, 147);
/* oklch */ color: oklch(34.6% 0.181 279.6);
Tailwind
colors: {
  custom: {
    50: '#775bb4',
    500: '#301a93',
    950: '#000000',
  },
}
SCSS
$custom: #301a93;
$custom-light: #775bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#301a93",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 250.909,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34649,
    "c": 0.18092,
    "h": 279.6
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#301A93
secondary
#ABC048
accent
#ED3BCC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301A93

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

Preview Lab → · Contrast checker → · Palette generator →

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