#401461#401461

#401461 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.129 H 306.1°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#401461
RGBrgb(64, 20, 97)
HSLhsl(274, 66%, 23%)
HSVhsv(274, 79%, 38%)
CMYKcmyk(34%, 79.4%, 0%, 62%)
CIE-LABlab(17.71, 35.89, -36.54)
CIE-LCHlch(17.71, 51.21, 314.48°)
OKLaboklab(30.67% 0.0757 -0.1039)
OKLCHoklch(30.67% 0.129 306.1)
XYZxyz(4.5217, 2.4534, 11.5423)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401461 #356114
analogous
#1A1461 #401461 #61145B
triadic
#401461 #614014 #146140
tetradic
#401461 #611A14 #356114 #145B61
square
#401461 #611A14 #356114 #145B61
split-complementary
#401461 #5B6114 #14611A
monochromatic
#110519 #1F0A2E #401461 #611E94 #8329C6

Accessibility & contrast

On white

14.09
#401461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401461
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401461#FFFFFF#000000##FFFFFF
##4014611.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#3A2739
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #401461;
/* rgb */ color: rgb(64, 20, 97);
/* oklch */ color: oklch(30.7% 0.129 306.1);
Tailwind
colors: {
  custom: {
    50: '#79578e',
    500: '#401461',
    950: '#000000',
  },
}
SCSS
$custom: #401461;
$custom-light: #79578e;
$custom-dark: #000000;
JSON
{
  "hex": "#401461",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 274.286,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30668,
    "c": 0.12855,
    "h": 306.1
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#401461
secondary
#629838
accent
#E93F88
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #401461

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

Preview Lab → · Contrast checker → · Palette generator →

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