#401083#401083

#401083 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.169 H 293.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#401083
RGBrgb(64, 16, 131)
HSLhsl(265, 78%, 29%)
HSVhsv(265, 88%, 51%)
CMYKcmyk(51.1%, 87.8%, 0%, 48.6%)
CIE-LABlab(20.44, 46.31, -54.06)
CIE-LCHlch(20.44, 71.18, 310.59°)
OKLaboklab(33.57% 0.0676 -0.1552)
OKLCHoklch(33.57% 0.169 293.5)
XYZxyz(6.3952, 3.0990, 21.7295)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401083 #538310
analogous
#101A83 #401083 #7A1083
triadic
#401083 #834010 #108340
tetradic
#401083 #83101A #538310 #10837A
square
#401083 #83101A #538310 #10837A
split-complementary
#401083 #837A10 #1A8310
monochromatic
#0D031B #25094C #401083 #5B17BA #7729E5

Accessibility & contrast

On white

12.96
#401083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#401083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401083
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401083#FFFFFF#000000##FFFFFF
##4010831.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#2A344C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #401083;
/* rgb */ color: rgb(64, 16, 131);
/* oklch */ color: oklch(33.6% 0.169 293.5);
Tailwind
colors: {
  custom: {
    50: '#7d57a8',
    500: '#401083',
    950: '#000000',
  },
}
SCSS
$custom: #401083;
$custom-light: #7d57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#401083",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 265.043,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33566,
    "c": 0.1693,
    "h": 293.5
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#401083
secondary
#82B936
accent
#F533A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0310
muted
#7C787F

Preview Lab

Preview with #401083

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

Preview Lab → · Contrast checker → · Palette generator →

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