#301473#301473

#301473 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.148 H 287.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#301473
RGBrgb(48, 20, 115)
HSLhsl(258, 70%, 26%)
HSVhsv(258, 83%, 45%)
CMYKcmyk(58.3%, 82.6%, 0%, 54.9%)
CIE-LABlab(17.30, 38.17, -49.06)
CIE-LCHlch(17.30, 62.17, 307.88°)
OKLaboklab(30.44% 0.0442 -0.1412)
OKLCHoklch(30.44% 0.148 287.4)
XYZxyz(4.5627, 2.3662, 16.4326)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301473 #577314
analogous
#142873 #301473 #601473
triadic
#301473 #733014 #147330
tetradic
#301473 #731428 #577314 #147360
square
#301473 #731428 #577314 #147360
split-complementary
#301473 #736014 #287314
monochromatic
#0B051A #1A0B3F #301473 #461DA7 #5C28DA

Accessibility & contrast

On white

14.25
#301473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#301473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301473
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301473#FFFFFF#000000##FFFFFF
##3014731.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#123044
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #301473;
/* rgb */ color: rgb(48, 20, 115);
/* oklch */ color: oklch(30.4% 0.148 287.4);
Tailwind
colors: {
  custom: {
    50: '#71569c',
    500: '#301473',
    950: '#000000',
  },
}
SCSS
$custom: #301473;
$custom-light: #71569c;
$custom-dark: #000000;
JSON
{
  "hex": "#301473",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 257.684,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30441,
    "c": 0.14799,
    "h": 287.4
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

primary
#301473
secondary
#88A93A
accent
#ED3BB9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #301473

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

Preview Lab → · Contrast checker → · Palette generator →

#301473 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva