#301A92#301A92

#301A92 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.180 H 279.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#301A92
RGBrgb(48, 26, 146)
HSLhsl(251, 70%, 34%)
HSVhsv(251, 82%, 57%)
CMYKcmyk(67.1%, 82.2%, 0%, 42.7%)
CIE-LABlab(21.73, 44.67, -61.36)
CIE-LCHlch(21.73, 75.90, 306.06°)
OKLaboklab(34.54% 0.0304 -0.1771)
OKLCHoklch(34.54% 0.18 279.7)
XYZxyz(6.7750, 3.4419, 27.4959)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A92 #7C921A
analogous
#1A4092 #301A92 #6C1A92
triadic
#301A92 #92301A #1A9230
tetradic
#301A92 #921A40 #7C921A #1A926C
square
#301A92 #921A40 #7C921A #1A926C
split-complementary
#301A92 #926C1A #40921A
monochromatic
#0E072A #1F115E #301A92 #4123C6 #6448DE

Accessibility & contrast

On white

12.44
#301A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301A92
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A92#FFFFFF#000000##FFFFFF
##301A921.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #301a92;
/* rgb */ color: rgb(48, 26, 146);
/* oklch */ color: oklch(34.5% 0.180 279.7);
Tailwind
colors: {
  custom: {
    50: '#775bb3',
    500: '#301a92',
    950: '#000000',
  },
}
SCSS
$custom: #301a92;
$custom-light: #775bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#301a92",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 146
  },
  "hsl": {
    "h": 251,
    "s": 69.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34537,
    "c": 0.17973,
    "h": 279.7
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #301A92

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

Preview Lab → · Contrast checker → · Palette generator →

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