#411768#411768

#411768 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.133 H 303.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#411768
RGBrgb(65, 23, 104)
HSLhsl(271, 64%, 25%)
HSVhsv(271, 78%, 41%)
CMYKcmyk(37.5%, 77.9%, 0%, 59.2%)
CIE-LABlab(18.95, 36.49, -39.12)
CIE-LCHlch(18.95, 53.49, 313.01°)
OKLaboklab(31.77% 0.0725 -0.1115)
OKLCHoklch(31.77% 0.133 303.1)
XYZxyz(4.9845, 2.7361, 13.3595)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411768 #3E6817
analogous
#181768 #411768 #681767
triadic
#411768 #684117 #176841
tetradic
#411768 #681817 #3E6817 #176768
square
#411768 #681817 #3E6817 #176768
split-complementary
#411768 #676817 #176818
monochromatic
#100619 #220C36 #411768 #60229A #802DCC

Accessibility & contrast

On white

13.57
#411768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#411768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411768
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411768#FFFFFF#000000##FFFFFF
##4117681.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#392B3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #411768;
/* rgb */ color: rgb(65, 23, 104);
/* oklch */ color: oklch(31.8% 0.133 303.1);
Tailwind
colors: {
  custom: {
    50: '#7a5994',
    500: '#411768',
    950: '#000000',
  },
}
SCSS
$custom: #411768;
$custom-light: #7a5994;
$custom-dark: #000000;
JSON
{
  "hex": "#411768",
  "rgb": {
    "r": 65,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 271.111,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31769,
    "c": 0.13299,
    "h": 303.1
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#411768
secondary
#6C9E3D
accent
#E74191
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #411768

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

Preview Lab → · Contrast checker → · Palette generator →

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