#401760#401760

#401760 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.124 H 306.0°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#401760
RGBrgb(64, 23, 96)
HSLhsl(274, 61%, 23%)
HSVhsv(274, 76%, 38%)
CMYKcmyk(33.3%, 76%, 0%, 62.4%)
CIE-LABlab(18.13, 34.19, -35.19)
CIE-LCHlch(18.13, 49.06, 314.17°)
OKLaboklab(30.94% 0.0726 -0.0999)
OKLCHoklch(30.94% 0.124 306)
XYZxyz(4.5316, 2.5473, 11.3170)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401760 #376017
analogous
#1B1760 #401760 #60175B
triadic
#401760 #604017 #176040
tetradic
#401760 #601B17 #376017 #175B60
square
#401760 #601B17 #376017 #175B60
split-complementary
#401760 #5B6017 #17601B
monochromatic
#100619 #1F0B2F #401760 #612391 #822FC3

Accessibility & contrast

On white

13.91
#401760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#401760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401760
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401760#FFFFFF#000000##FFFFFF
##4017601.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#3A283A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #401760;
/* rgb */ color: rgb(64, 23, 96);
/* oklch */ color: oklch(30.9% 0.124 306.0);
Tailwind
colors: {
  custom: {
    50: '#78588e',
    500: '#401760',
    950: '#000000',
  },
}
SCSS
$custom: #401760;
$custom-light: #78588e;
$custom-dark: #000000;
JSON
{
  "hex": "#401760",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 273.699,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30943,
    "c": 0.12355,
    "h": 306
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#401760
secondary
#64973C
accent
#E4438A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #401760

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

Preview Lab → · Contrast checker → · Palette generator →

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