#411766#411766

#411766 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.131 H 303.9°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#411766
RGBrgb(65, 23, 102)
HSLhsl(272, 63%, 25%)
HSVhsv(272, 77%, 40%)
CMYKcmyk(36.3%, 77.5%, 0%, 60%)
CIE-LABlab(18.78, 35.96, -38.08)
CIE-LCHlch(18.78, 52.38, 313.36°)
OKLaboklab(31.59% 0.073 -0.1084)
OKLCHoklch(31.59% 0.131 303.9)
XYZxyz(4.8841, 2.6959, 12.8309)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411766 #3C6617
analogous
#1A1766 #411766 #661764
triadic
#411766 #664117 #176641
tetradic
#411766 #661A17 #3C6617 #176466
square
#411766 #661A17 #3C6617 #176466
split-complementary
#411766 #646617 #17661A
monochromatic
#100619 #210C34 #411766 #612298 #812ECA

Accessibility & contrast

On white

13.64
#411766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #411766
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411766#FFFFFF#000000##FFFFFF
##4117661.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#3A2A3D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #411766;
/* rgb */ color: rgb(65, 23, 102);
/* oklch */ color: oklch(31.6% 0.131 303.9);
Tailwind
colors: {
  custom: {
    50: '#7a5992',
    500: '#411766',
    950: '#000000',
  },
}
SCSS
$custom: #411766;
$custom-light: #7a5992;
$custom-dark: #000000;
JSON
{
  "hex": "#411766",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 271.899,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31594,
    "c": 0.13071,
    "h": 303.9
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#411766
secondary
#699C3C
accent
#E6428F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #411766

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

Preview Lab → · Contrast checker → · Palette generator →

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