#401569#401569

#401569 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.136 H 302.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#401569
RGBrgb(64, 21, 105)
HSLhsl(271, 67%, 25%)
HSVhsv(271, 80%, 41%)
CMYKcmyk(39%, 80%, 0%, 58.8%)
CIE-LABlab(18.57, 37.49, -40.41)
CIE-LCHlch(18.57, 55.12, 312.86°)
OKLaboklab(31.49% 0.0727 -0.1153)
OKLCHoklch(31.49% 0.136 302.2)
XYZxyz(4.9317, 2.6462, 13.6128)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401569 #3E6915
analogous
#161569 #401569 #691568
triadic
#401569 #694015 #156940
tetradic
#401569 #691615 #3E6915 #156869
square
#401569 #691615 #3E6915 #156869
split-complementary
#401569 #686915 #156916
monochromatic
#10051A #210B36 #401569 #5F1F9C #7E29CF

Accessibility & contrast

On white

13.73
#401569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#401569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401569
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401569#FFFFFF#000000##FFFFFF
##4015691.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#372B3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #401569;
/* rgb */ color: rgb(64, 21, 105);
/* oklch */ color: oklch(31.5% 0.136 302.2);
Tailwind
colors: {
  custom: {
    50: '#795895',
    500: '#401569',
    950: '#000000',
  },
}
SCSS
$custom: #401569;
$custom-light: #795895;
$custom-dark: #000000;
JSON
{
  "hex": "#401569",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 270.714,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31493,
    "c": 0.13631,
    "h": 302.2
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#401569
secondary
#6CA03A
accent
#EA3E92
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #401569

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

Preview Lab → · Contrast checker → · Palette generator →

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