#411F7C#411F7C

#411F7C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.147 H 294.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#411F7C
RGBrgb(65, 31, 124)
HSLhsl(262, 60%, 30%)
HSVhsv(262, 75%, 49%)
CMYKcmyk(47.6%, 75%, 0%, 51.4%)
CIE-LABlab(22.16, 37.96, -46.79)
CIE-LCHlch(22.16, 60.26, 309.05°)
OKLaboklab(34.58% 0.0598 -0.1341)
OKLCHoklch(34.58% 0.147 294)
XYZxyz(6.3071, 3.5588, 19.4195)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411F7C #5A7C1F
analogous
#1F2C7C #411F7C #6F1F7C
triadic
#411F7C #7C411F #1F7C41
tetradic
#411F7C #7C1F2C #5A7C1F #1F7C6F
square
#411F7C #7C1F2C #5A7C1F #1F7C6F
split-complementary
#411F7C #7C6F1F #2C7C1F
monochromatic
#0E071A #27134B #411F7C #5B2BAD #7845D0

Accessibility & contrast

On white

12.27
#411F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#411F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411F7C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411F7C#FFFFFF#000000##FFFFFF
##411F7C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#30374B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #411f7c;
/* rgb */ color: rgb(65, 31, 124);
/* oklch */ color: oklch(34.6% 0.147 294.0);
Tailwind
colors: {
  custom: {
    50: '#7c5ea3',
    500: '#411f7c',
    950: '#000000',
  },
}
SCSS
$custom: #411f7c;
$custom-light: #7c5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#411f7c",
  "rgb": {
    "r": 65,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 261.935,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34583,
    "c": 0.14679,
    "h": 294
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#411F7C
secondary
#89AF48
accent
#E345A9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #411F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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