#411F7E#411F7E

#411F7E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.149 H 293.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#411F7E
RGBrgb(65, 31, 126)
HSLhsl(261, 61%, 31%)
HSVhsv(261, 75%, 49%)
CMYKcmyk(48.4%, 75.4%, 0%, 50.6%)
CIE-LABlab(22.34, 38.54, -47.77)
CIE-LCHlch(22.34, 61.37, 308.90°)
OKLaboklab(34.77% 0.0593 -0.1369)
OKLCHoklch(34.77% 0.149 293.4)
XYZxyz(6.4348, 3.6099, 20.0924)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F7E #5C7E1F
analogous
#1F2C7E #411F7E #701F7E
triadic
#411F7E #7E411F #1F7E41
tetradic
#411F7E #7E1F2C #5C7E1F #1F7E70
square
#411F7E #7E1F2C #5C7E1F #1F7E70
split-complementary
#411F7E #7E701F #2C7E1F
monochromatic
#0E071C #28134D #411F7E #5A2BAF #7846D1

Accessibility & contrast

On white

12.20
#411F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#411F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F7E
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F7E#FFFFFF#000000##FFFFFF
##411F7E1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#2F384C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #411f7e;
/* rgb */ color: rgb(65, 31, 126);
/* oklch */ color: oklch(34.8% 0.149 293.4);
Tailwind
colors: {
  custom: {
    50: '#7c5ea4',
    500: '#411f7e',
    950: '#000000',
  },
}
SCSS
$custom: #411f7e;
$custom-light: #7c5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#411f7e",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 261.474,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34768,
    "c": 0.14921,
    "h": 293.4
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#411F7E
secondary
#8BB148
accent
#E444AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411F7E

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

Preview Lab → · Contrast checker → · Palette generator →

#411F7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva