#411785#411785

#411785 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.166 H 292.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#411785
RGBrgb(65, 23, 133)
HSLhsl(263, 71%, 31%)
HSVhsv(263, 83%, 52%)
CMYKcmyk(51.1%, 82.7%, 0%, 47.8%)
CIE-LABlab(21.69, 44.29, -53.25)
CIE-LCHlch(21.69, 69.26, 309.75°)
OKLaboklab(34.52% 0.0639 -0.1529)
OKLCHoklch(34.52% 0.166 292.7)
XYZxyz(6.7188, 3.4298, 22.4938)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411785 #5B8517
analogous
#172485 #411785 #781785
triadic
#411785 #854117 #178541
tetradic
#411785 #851724 #5B8517 #178578
square
#411785 #851724 #5B8517 #178578
split-complementary
#411785 #857817 #248517
monochromatic
#0E051D #270E51 #411785 #5A20B9 #783ADD

Accessibility & contrast

On white

12.46
#411785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#411785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411785
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411785#FFFFFF#000000##FFFFFF
##4117851.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#2B374F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #411785;
/* rgb */ color: rgb(65, 23, 133);
/* oklch */ color: oklch(34.5% 0.166 292.7);
Tailwind
colors: {
  custom: {
    50: '#7e5aaa',
    500: '#411785',
    950: '#000000',
  },
}
SCSS
$custom: #411785;
$custom-light: #7e5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#411785",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 262.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3452,
    "c": 0.16575,
    "h": 292.7
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#411785
secondary
#8AB93F
accent
#ED3BA9
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #411785

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

Preview Lab → · Contrast checker → · Palette generator →

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