#301A80#301A80

#301A80 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.158 H 283.1°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#301A80
RGBrgb(48, 26, 128)
HSLhsl(253, 66%, 30%)
HSVhsv(253, 80%, 50%)
CMYKcmyk(62.5%, 79.7%, 0%, 49.8%)
CIE-LABlab(19.74, 39.14, -53.36)
CIE-LCHlch(19.74, 66.18, 306.26°)
OKLaboklab(32.56% 0.0359 -0.1539)
OKLCHoklch(32.56% 0.158 283.1)
XYZxyz(5.4834, 2.9253, 20.6936)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A80 #6A801A
analogous
#1A3780 #301A80 #631A80
triadic
#301A80 #80301A #1A8030
tetradic
#301A80 #801A37 #6A801A #1A8063
square
#301A80 #801A37 #6A801A #1A8063
split-complementary
#301A80 #80631A #37801A
monochromatic
#0A051A #1D104D #301A80 #4324B3 #5E3DD8

Accessibility & contrast

On white

13.25
#301A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#301A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A80
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A80#FFFFFF#000000##FFFFFF
##301A801.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #301a80;
/* rgb */ color: rgb(48, 26, 128);
/* oklch */ color: oklch(32.6% 0.158 283.1);
Tailwind
colors: {
  custom: {
    50: '#735aa6',
    500: '#301a80',
    950: '#000000',
  },
}
SCSS
$custom: #301a80;
$custom-light: #735aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#301a80",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 252.941,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32561,
    "c": 0.15799,
    "h": 283.1
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#301A80
secondary
#9BB442
accent
#E93FC4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #301A80

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

Preview Lab → · Contrast checker → · Palette generator →

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