#301472#301472

#301472 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.147 H 287.7°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#301472
RGBrgb(48, 20, 114)
HSLhsl(258, 70%, 26%)
HSVhsv(258, 82%, 45%)
CMYKcmyk(57.9%, 82.5%, 0%, 55.3%)
CIE-LABlab(17.20, 37.87, -48.59)
CIE-LCHlch(17.20, 61.61, 307.93°)
OKLaboklab(30.33% 0.0445 -0.1399)
OKLCHoklch(30.33% 0.147 287.7)
XYZxyz(4.5054, 2.3434, 16.1312)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301472 #567214
analogous
#142772 #301472 #5F1472
triadic
#301472 #723014 #147230
tetradic
#301472 #721427 #567214 #14725F
square
#301472 #721427 #567214 #14725F
split-complementary
#301472 #725F14 #277214
monochromatic
#0B051A #1A0B3E #301472 #461DA6 #5C27D9

Accessibility & contrast

On white

14.30
#301472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301472
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301472#FFFFFF#000000##FFFFFF
##3014721.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#133043
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #301472;
/* rgb */ color: rgb(48, 20, 114);
/* oklch */ color: oklch(30.3% 0.147 287.7);
Tailwind
colors: {
  custom: {
    50: '#71569c',
    500: '#301472',
    950: '#000000',
  },
}
SCSS
$custom: #301472;
$custom-light: #71569c;
$custom-dark: #000000;
JSON
{
  "hex": "#301472",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 257.872,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30334,
    "c": 0.14679,
    "h": 287.7
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#301472
secondary
#87A839
accent
#ED3BB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #301472

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

Preview Lab → · Contrast checker → · Palette generator →

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