#411687#411687

#411687 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.169 H 292.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#411687
RGBrgb(65, 22, 135)
HSLhsl(263, 72%, 31%)
HSVhsv(263, 84%, 53%)
CMYKcmyk(51.9%, 83.7%, 0%, 47.1%)
CIE-LABlab(21.75, 45.24, -54.41)
CIE-LCHlch(21.75, 70.76, 309.75°)
OKLaboklab(34.62% 0.0639 -0.1563)
OKLCHoklch(34.62% 0.169 292.2)
XYZxyz(6.8388, 3.4466, 23.2219)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411687 #5C8716
analogous
#162387 #411687 #791687
triadic
#411687 #874116 #168741
tetradic
#411687 #871623 #5C8716 #168779
square
#411687 #871623 #5C8716 #168779
split-complementary
#411687 #877916 #238716
monochromatic
#0E051E #280D52 #411687 #5A1FBC #7839DF

Accessibility & contrast

On white

12.43
#411687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#411687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411687
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411687#FFFFFF#000000##FFFFFF
##4116871.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#293850
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #411687;
/* rgb */ color: rgb(65, 22, 135);
/* oklch */ color: oklch(34.6% 0.169 292.2);
Tailwind
colors: {
  custom: {
    50: '#7e5aab',
    500: '#411687',
    950: '#000000',
  },
}
SCSS
$custom: #411687;
$custom-light: #7e5aab;
$custom-dark: #000000;
JSON
{
  "hex": "#411687",
  "rgb": {
    "r": 65,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 262.832,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34624,
    "c": 0.16886,
    "h": 292.2
  },
  "luminance": 0.03447
}

Semantic roles & 50–950 ramp

primary
#411687
secondary
#8BBB3E
accent
#EF39AA
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #411687

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

Preview Lab → · Contrast checker → · Palette generator →

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