#401963#401963

#401963 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.124 H 304.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#401963
RGBrgb(64, 25, 99)
HSLhsl(272, 60%, 24%)
HSVhsv(272, 75%, 39%)
CMYKcmyk(35.4%, 74.7%, 0%, 61.2%)
CIE-LABlab(18.74, 33.96, -36.18)
CIE-LCHlch(18.74, 49.62, 313.18°)
OKLaboklab(31.45% 0.0698 -0.1029)
OKLCHoklch(31.45% 0.124 304.2)
XYZxyz(4.7136, 2.6861, 12.0721)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401963 #3C6319
analogous
#1B1963 #401963 #631961
triadic
#401963 #634019 #196340
tetradic
#401963 #631B19 #3C6319 #196163
square
#401963 #631B19 #3C6319 #196163
split-complementary
#401963 #616319 #19631B
monochromatic
#100618 #200D32 #401963 #602594 #7F32C5

Accessibility & contrast

On white

13.66
#401963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#401963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401963
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401963#FFFFFF#000000##FFFFFF
##4019631.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#392A3C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #401963;
/* rgb */ color: rgb(64, 25, 99);
/* oklch */ color: oklch(31.5% 0.124 304.2);
Tailwind
colors: {
  custom: {
    50: '#785990',
    500: '#401963',
    950: '#000000',
  },
}
SCSS
$custom: #401963;
$custom-light: #785990;
$custom-dark: #000000;
JSON
{
  "hex": "#401963",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 271.622,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31454,
    "c": 0.12435,
    "h": 304.2
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#401963
secondary
#69993F
accent
#E34590
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #401963

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

Preview Lab → · Contrast checker → · Palette generator →

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