#301573#301573

#301573 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.147 H 287.2°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#301573
RGBrgb(48, 21, 115)
HSLhsl(257, 69%, 27%)
HSVhsv(257, 82%, 45%)
CMYKcmyk(58.3%, 81.7%, 0%, 54.9%)
CIE-LABlab(17.47, 37.69, -48.79)
CIE-LCHlch(17.47, 61.65, 307.68°)
OKLaboklab(30.56% 0.0435 -0.1404)
OKLCHoklch(30.56% 0.147 287.2)
XYZxyz(4.5807, 2.4023, 16.4386)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301573 #587315
analogous
#152973 #301573 #5F1573
triadic
#301573 #733015 #157330
tetradic
#301573 #731529 #587315 #15735F
square
#301573 #731529 #587315 #15735F
split-complementary
#301573 #735F15 #297315
monochromatic
#0B051A #1A0C3F #301573 #461EA7 #5C2AD8

Accessibility & contrast

On white

14.18
#301573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#301573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301573
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301573#FFFFFF#000000##FFFFFF
##3015731.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.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: #301573;
/* rgb */ color: rgb(48, 21, 115);
/* oklch */ color: oklch(30.6% 0.147 287.2);
Tailwind
colors: {
  custom: {
    50: '#71569c',
    500: '#301573',
    950: '#000000',
  },
}
SCSS
$custom: #301573;
$custom-light: #71569c;
$custom-dark: #000000;
JSON
{
  "hex": "#301573",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 257.234,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30558,
    "c": 0.14701,
    "h": 287.2
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#301573
secondary
#89A93B
accent
#EC3CB9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #301573

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

Preview Lab → · Contrast checker → · Palette generator →

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