#401369#401369

#401369 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.139 H 302.6°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#401369
RGBrgb(64, 19, 105)
HSLhsl(271, 69%, 24%)
HSVhsv(271, 82%, 41%)
CMYKcmyk(39%, 81.9%, 0%, 58.8%)
CIE-LABlab(18.26, 38.38, -40.91)
CIE-LCHlch(18.26, 56.10, 313.17°)
OKLaboklab(31.28% 0.0746 -0.1167)
OKLCHoklch(31.28% 0.139 302.6)
XYZxyz(4.8964, 2.5756, 13.6011)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401369 #3C6913
analogous
#151369 #401369 #691367
triadic
#401369 #694013 #136940
tetradic
#401369 #691513 #3C6913 #136769
square
#401369 #691513 #3C6913 #136769
split-complementary
#401369 #676913 #136915
monochromatic
#10051A #200A35 #401369 #601C9D #7F26D1

Accessibility & contrast

On white

13.86
#401369 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#401369 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401369
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401369#FFFFFF#000000##FFFFFF
##4013691.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#372A3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #401369;
/* rgb */ color: rgb(64, 19, 105);
/* oklch */ color: oklch(31.3% 0.139 302.6);
Tailwind
colors: {
  custom: {
    50: '#7a5795',
    500: '#401369',
    950: '#000000',
  },
}
SCSS
$custom: #401369;
$custom-light: #7a5795;
$custom-dark: #000000;
JSON
{
  "hex": "#401369",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 105
  },
  "hsl": {
    "h": 271.395,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31275,
    "c": 0.13856,
    "h": 302.6
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#401369
secondary
#69A038
accent
#EC3C90
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #401369

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

Preview Lab → · Contrast checker → · Palette generator →

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