#411F7D#411F7D

#411F7D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.148 H 293.7°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#411F7D
RGBrgb(65, 31, 125)
HSLhsl(262, 60%, 31%)
HSVhsv(262, 75%, 49%)
CMYKcmyk(48%, 75.2%, 0%, 51%)
CIE-LABlab(22.25, 38.25, -47.28)
CIE-LCHlch(22.25, 60.81, 308.97°)
OKLaboklab(34.67% 0.0595 -0.1355)
OKLCHoklch(34.67% 0.148 293.7)
XYZxyz(6.3706, 3.5843, 19.7542)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F7D #5B7D1F
analogous
#1F2C7D #411F7D #701F7D
triadic
#411F7D #7D411F #1F7D41
tetradic
#411F7D #7D1F2C #5B7D1F #1F7D70
square
#411F7D #7D1F2C #5B7D1F #1F7D70
split-complementary
#411F7D #7D701F #2C7D1F
monochromatic
#0E071B #27134C #411F7D #5A2BAE #7845D1

Accessibility & contrast

On white

12.23
#411F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #411F7D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F7D#FFFFFF#000000##FFFFFF
##411F7D1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #411f7d;
/* rgb */ color: rgb(65, 31, 125);
/* oklch */ color: oklch(34.7% 0.148 293.7);
Tailwind
colors: {
  custom: {
    50: '#7c5ea3',
    500: '#411f7d',
    950: '#000000',
  },
}
SCSS
$custom: #411f7d;
$custom-light: #7c5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#411f7d",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 261.702,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34675,
    "c": 0.148,
    "h": 293.7
  },
  "luminance": 0.03584
}

Semantic roles & 50–950 ramp

primary
#411F7D
secondary
#8AB048
accent
#E344AA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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