#301471#301471

#301471 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.146 H 287.9°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#301471
RGBrgb(48, 20, 113)
HSLhsl(258, 70%, 26%)
HSVhsv(258, 82%, 44%)
CMYKcmyk(57.5%, 82.3%, 0%, 55.7%)
CIE-LABlab(17.09, 37.57, -48.12)
CIE-LCHlch(17.09, 61.06, 307.98°)
OKLaboklab(30.23% 0.0449 -0.1385)
OKLCHoklch(30.23% 0.146 287.9)
XYZxyz(4.4488, 2.3207, 15.8331)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301471 #557114
analogous
#142671 #301471 #5E1471
triadic
#301471 #713014 #147130
tetradic
#301471 #711426 #557114 #14715E
square
#301471 #711426 #557114 #14715E
split-complementary
#301471 #715E14 #267114
monochromatic
#0B051A #1A0B3D #301471 #461DA5 #5C27D9

Accessibility & contrast

On white

14.34
#301471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#301471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301471
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301471#FFFFFF#000000##FFFFFF
##3014711.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#142F42
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #301471;
/* rgb */ color: rgb(48, 20, 113);
/* oklch */ color: oklch(30.2% 0.146 287.9);
Tailwind
colors: {
  custom: {
    50: '#71569b',
    500: '#301471',
    950: '#000000',
  },
}
SCSS
$custom: #301471;
$custom-light: #71569b;
$custom-dark: #000000;
JSON
{
  "hex": "#301471",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 258.065,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30227,
    "c": 0.14557,
    "h": 287.9
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#301471
secondary
#86A739
accent
#ED3BB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #301471

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

Preview Lab → · Contrast checker → · Palette generator →

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