#301A90#301A90

#301A90 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.177 H 280.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#301A90
RGBrgb(48, 26, 144)
HSLhsl(251, 69%, 33%)
HSVhsv(251, 82%, 56%)
CMYKcmyk(66.7%, 81.9%, 0%, 43.5%)
CIE-LABlab(21.51, 44.06, -60.49)
CIE-LCHlch(21.51, 74.84, 306.07°)
OKLaboklab(34.31% 0.031 -0.1746)
OKLCHoklch(34.31% 0.177 280.1)
XYZxyz(6.6208, 3.3803, 26.6837)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A90 #7A901A
analogous
#1A3F90 #301A90 #6B1A90
triadic
#301A90 #90301A #1A9030
tetradic
#301A90 #901A3F #7A901A #1A906B
square
#301A90 #901A3F #7A901A #1A906B
split-complementary
#301A90 #906B1A #3F901A
monochromatic
#0D0728 #1F115C #301A90 #4123C4 #6347DE

Accessibility & contrast

On white

12.53
#301A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301A90
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A90#FFFFFF#000000##FFFFFF
##301A901.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #301a90;
/* rgb */ color: rgb(48, 26, 144);
/* oklch */ color: oklch(34.3% 0.177 280.1);
Tailwind
colors: {
  custom: {
    50: '#775bb2',
    500: '#301a90',
    950: '#000000',
  },
}
SCSS
$custom: #301a90;
$custom-light: #775bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#301a90",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 251.186,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34313,
    "c": 0.17736,
    "h": 280.1
  },
  "luminance": 0.03381
}

Semantic roles & 50–950 ramp

primary
#301A90
secondary
#A9BF47
accent
#EC3CCB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301A90

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

Preview Lab → · Contrast checker → · Palette generator →

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