#301464#301464

#301464 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.130 H 292.2°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#301464
RGBrgb(48, 20, 100)
HSLhsl(261, 67%, 24%)
HSVhsv(261, 80%, 39%)
CMYKcmyk(52%, 80%, 0%, 60.8%)
CIE-LABlab(15.74, 33.69, -41.83)
CIE-LCHlch(15.74, 53.71, 308.85°)
OKLaboklab(28.88% 0.049 -0.1201)
OKLCHoklch(28.88% 0.13 292.2)
XYZxyz(3.7687, 2.0487, 12.2510)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301464 #486414
analogous
#142064 #301464 #581464
triadic
#301464 #643014 #146430
tetradic
#301464 #641420 #486414 #146458
square
#301464 #641420 #486414 #146458
split-complementary
#301464 #645814 #206414
monochromatic
#0C051A #180A31 #301464 #481E97 #6128CA

Accessibility & contrast

On white

14.90
#301464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#301464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301464
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301464#FFFFFF#000000##FFFFFF
##3014641.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#1F2A3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #301464;
/* rgb */ color: rgb(48, 20, 100);
/* oklch */ color: oklch(28.9% 0.130 292.2);
Tailwind
colors: {
  custom: {
    50: '#6f5591',
    500: '#301464',
    950: '#000000',
  },
}
SCSS
$custom: #301464;
$custom-light: #6f5591;
$custom-dark: #000000;
JSON
{
  "hex": "#301464",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 261,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28878,
    "c": 0.12967,
    "h": 292.2
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#301464
secondary
#799B38
accent
#EA3EAE
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #301464

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

Preview Lab → · Contrast checker → · Palette generator →

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