#301470#301470

#301470 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.144 H 288.2°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#301470
RGBrgb(48, 20, 112)
HSLhsl(258, 70%, 26%)
HSVhsv(258, 82%, 44%)
CMYKcmyk(57.1%, 82.1%, 0%, 56.1%)
CIE-LABlab(16.98, 37.28, -47.65)
CIE-LCHlch(16.98, 60.50, 308.03°)
OKLaboklab(30.12% 0.0452 -0.1371)
OKLCHoklch(30.12% 0.144 288.2)
XYZxyz(4.3928, 2.2983, 15.5382)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301470 #547014
analogous
#142670 #301470 #5E1470
triadic
#301470 #703014 #147030
tetradic
#301470 #701426 #547014 #14705E
square
#301470 #701426 #547014 #14705E
split-complementary
#301470 #705E14 #267014
monochromatic
#0B051A #1A0B3C #301470 #461DA4 #5D27D8

Accessibility & contrast

On white

14.39
#301470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301470
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301470#FFFFFF#000000##FFFFFF
##3014701.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#152F42
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #301470;
/* rgb */ color: rgb(48, 20, 112);
/* oklch */ color: oklch(30.1% 0.144 288.2);
Tailwind
colors: {
  custom: {
    50: '#71569a',
    500: '#301470',
    950: '#000000',
  },
}
SCSS
$custom: #301470;
$custom-light: #71569a;
$custom-dark: #000000;
JSON
{
  "hex": "#301470",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 258.261,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30121,
    "c": 0.14437,
    "h": 288.2
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#301470
secondary
#85A639
accent
#ED3BB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #301470

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

Preview Lab → · Contrast checker → · Palette generator →

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