#401869#401869

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

Color values

HEX#401869
RGBrgb(64, 24, 105)
HSLhsl(270, 63%, 25%)
HSVhsv(270, 77%, 41%)
CMYKcmyk(39%, 77.1%, 0%, 58.8%)
CIE-LABlab(19.07, 36.06, -39.59)
CIE-LCHlch(19.07, 53.55, 312.33°)
OKLaboklab(31.85% 0.0697 -0.1129)
OKLCHoklch(31.85% 0.133 301.7)
XYZxyz(4.9902, 2.7632, 13.6323)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401869 #416918
analogous
#181869 #401869 #691869
triadic
#401869 #694018 #186940
tetradic
#401869 #691818 #416918 #186969
square
#401869 #691818 #416918 #186969
split-complementary
#401869 #696918 #186918
monochromatic
#0F0619 #220D37 #401869 #5E239B #7D2FCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##401869#FFFFFF#000000##FFFFFF
##4018691.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)
#002E6B
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#372C3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #401869;
/* rgb */ color: rgb(64, 24, 105);
/* oklch */ color: oklch(31.8% 0.133 301.7);
Tailwind
colors: {
  custom: {
    50: '#795995',
    500: '#401869',
    950: '#000000',
  },
}
SCSS
$custom: #401869;
$custom-light: #795995;
$custom-dark: #000000;
JSON
{
  "hex": "#401869",
  "rgb": {
    "r": 64,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 269.63,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31846,
    "c": 0.13268,
    "h": 301.7
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#401869
secondary
#6F9F3E
accent
#E64295
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #401869

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

Preview Lab → · Contrast checker → · Palette generator →

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