#401360#401360

#401360 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.129 H 306.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#401360
RGBrgb(64, 19, 96)
HSLhsl(275, 67%, 23%)
HSVhsv(275, 80%, 38%)
CMYKcmyk(33.3%, 80.2%, 0%, 62.4%)
CIE-LABlab(17.46, 36.09, -36.27)
CIE-LCHlch(17.46, 51.17, 314.85°)
OKLaboklab(30.47% 0.077 -0.1031)
OKLCHoklch(30.47% 0.129 306.7)
XYZxyz(4.4581, 2.4003, 11.2925)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401360 #336013
analogous
#191360 #401360 #60135A
triadic
#401360 #604013 #136040
tetradic
#401360 #601913 #336013 #135A60
square
#401360 #601913 #336013 #135A60
split-complementary
#401360 #5A6013 #136019
monochromatic
#11051A #1E092D #401360 #621D93 #8427C6

Accessibility & contrast

On white

14.19
#401360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#401360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401360
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401360#FFFFFF#000000##FFFFFF
##4013601.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401360;
/* rgb */ color: rgb(64, 19, 96);
/* oklch */ color: oklch(30.5% 0.129 306.7);
Tailwind
colors: {
  custom: {
    50: '#79568e',
    500: '#401360',
    950: '#000000',
  },
}
SCSS
$custom: #401360;
$custom-light: #79568e;
$custom-dark: #000000;
JSON
{
  "hex": "#401360",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 275.065,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30469,
    "c": 0.12867,
    "h": 306.7
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#401360
secondary
#5F9837
accent
#EA3E85
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #401360

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

Preview Lab → · Contrast checker → · Palette generator →

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