#401363#401363

#401363 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.132 H 305.3°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#401363
RGBrgb(64, 19, 99)
HSLhsl(274, 68%, 23%)
HSVhsv(274, 81%, 39%)
CMYKcmyk(35.4%, 80.8%, 0%, 61.2%)
CIE-LABlab(17.72, 36.85, -37.84)
CIE-LCHlch(17.72, 52.82, 314.24°)
OKLaboklab(30.73% 0.0762 -0.1077)
OKLCHoklch(30.73% 0.132 305.3)
XYZxyz(4.5988, 2.4566, 12.0339)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401363 #366313
analogous
#181363 #401363 #63135E
triadic
#401363 #634013 #136340
tetradic
#401363 #631813 #366313 #135E63
square
#401363 #631813 #366313 #135E63
split-complementary
#401363 #5E6313 #136318
monochromatic
#11051A #1F0930 #401363 #611D96 #8227CA

Accessibility & contrast

On white

14.08
#401363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#401363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401363
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401363#FFFFFF#000000##FFFFFF
##4013631.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#39273A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #401363;
/* rgb */ color: rgb(64, 19, 99);
/* oklch */ color: oklch(30.7% 0.132 305.3);
Tailwind
colors: {
  custom: {
    50: '#795690',
    500: '#401363',
    950: '#000000',
  },
}
SCSS
$custom: #401363;
$custom-light: #795690;
$custom-dark: #000000;
JSON
{
  "hex": "#401363",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 273.75,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30733,
    "c": 0.13196,
    "h": 305.3
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#401363
secondary
#639B37
accent
#EB3D89
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #401363

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

Preview Lab → · Contrast checker → · Palette generator →

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