#401460#401460

#401460 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.127 H 306.6°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#401460
RGBrgb(64, 20, 96)
HSLhsl(275, 66%, 23%)
HSVhsv(275, 79%, 38%)
CMYKcmyk(33.3%, 79.2%, 0%, 62.4%)
CIE-LABlab(17.62, 35.63, -36.01)
CIE-LCHlch(17.62, 50.66, 314.69°)
OKLaboklab(30.58% 0.0759 -0.1024)
OKLCHoklch(30.58% 0.127 306.6)
XYZxyz(4.4754, 2.4349, 11.2983)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401460 #346014
analogous
#1A1460 #401460 #60145A
triadic
#401460 #604014 #146040
tetradic
#401460 #601A14 #346014 #145A60
square
#401460 #601A14 #346014 #145A60
split-complementary
#401460 #5A6014 #14601A
monochromatic
#110519 #1E092D #401460 #621F93 #8429C5

Accessibility & contrast

On white

14.12
#401460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#401460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401460
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401460#FFFFFF#000000##FFFFFF
##4014601.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#3A2639
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #401460;
/* rgb */ color: rgb(64, 20, 96);
/* oklch */ color: oklch(30.6% 0.127 306.6);
Tailwind
colors: {
  custom: {
    50: '#79578e',
    500: '#401460',
    950: '#000000',
  },
}
SCSS
$custom: #401460;
$custom-light: #79578e;
$custom-dark: #000000;
JSON
{
  "hex": "#401460",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 274.737,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30582,
    "c": 0.12744,
    "h": 306.6
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#401460
secondary
#609838
accent
#E83F87
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #401460

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

Preview Lab → · Contrast checker → · Palette generator →

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