#401763#401763

#401763 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.127 H 304.6°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#401763
RGBrgb(64, 23, 99)
HSLhsl(272, 62%, 24%)
HSVhsv(272, 77%, 39%)
CMYKcmyk(35.4%, 76.8%, 0%, 61.2%)
CIE-LABlab(18.38, 34.97, -36.77)
CIE-LCHlch(18.38, 50.74, 313.56°)
OKLaboklab(31.2% 0.0721 -0.1046)
OKLCHoklch(31.2% 0.127 304.6)
XYZxyz(4.6724, 2.6037, 12.0584)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401763 #3A6317
analogous
#1A1763 #401763 #631760
triadic
#401763 #634017 #176340
tetradic
#401763 #631A17 #3A6317 #176063
square
#401763 #631A17 #3A6317 #176063
split-complementary
#401763 #606317 #17631A
monochromatic
#100619 #200B31 #401763 #602395 #802EC6

Accessibility & contrast

On white

13.81
#401763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401763
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401763#FFFFFF#000000##FFFFFF
##4017631.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#39293B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #401763;
/* rgb */ color: rgb(64, 23, 99);
/* oklch */ color: oklch(31.2% 0.127 304.6);
Tailwind
colors: {
  custom: {
    50: '#795890',
    500: '#401763',
    950: '#000000',
  },
}
SCSS
$custom: #401763;
$custom-light: #795890;
$custom-dark: #000000;
JSON
{
  "hex": "#401763",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 272.368,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31198,
    "c": 0.12702,
    "h": 304.6
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#401763
secondary
#679A3C
accent
#E5428D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #401763

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

Preview Lab → · Contrast checker → · Palette generator →

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