#401470#401470

#401470 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.145 H 299.6°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#401470
RGBrgb(64, 20, 112)
HSLhsl(269, 70%, 26%)
HSVhsv(269, 82%, 44%)
CMYKcmyk(42.9%, 82.1%, 0%, 56.1%)
CIE-LABlab(19.06, 39.78, -44.17)
CIE-LCHlch(19.06, 59.44, 312.01°)
OKLaboklab(32.03% 0.0716 -0.1263)
OKLCHoklch(32.03% 0.145 299.6)
XYZxyz(5.2884, 2.7601, 15.5802)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401470 #447014
analogous
#141670 #401470 #6E1470
triadic
#401470 #704014 #147040
tetradic
#401470 #701416 #447014 #14706E
square
#401470 #701416 #447014 #14706E
split-complementary
#401470 #706E14 #167014
monochromatic
#0F051A #220B3C #401470 #5E1DA4 #7B27D8

Accessibility & contrast

On white

13.53
#401470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#401470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401470
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401470#FFFFFF#000000##FFFFFF
##4014701.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#342D42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #401470;
/* rgb */ color: rgb(64, 20, 112);
/* oklch */ color: oklch(32.0% 0.145 299.6);
Tailwind
colors: {
  custom: {
    50: '#7a579a',
    500: '#401470',
    950: '#000000',
  },
}
SCSS
$custom: #401470;
$custom-light: #7a579a;
$custom-dark: #000000;
JSON
{
  "hex": "#401470",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 268.696,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32034,
    "c": 0.14521,
    "h": 299.6
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#401470
secondary
#72A639
accent
#ED3B98
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #401470

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

Preview Lab → · Contrast checker → · Palette generator →

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