#411171#411171

#411171 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.149 H 300.3°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#411171
RGBrgb(65, 17, 113)
HSLhsl(270, 74%, 25%)
HSVhsv(270, 85%, 44%)
CMYKcmyk(42.5%, 85%, 0%, 55.7%)
CIE-LABlab(18.87, 41.43, -45.11)
CIE-LCHlch(18.87, 61.25, 312.57°)
OKLaboklab(31.97% 0.0754 -0.129)
OKLCHoklch(31.97% 0.149 300.3)
XYZxyz(5.3603, 2.7169, 15.8616)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411171 #417111
analogous
#111171 #411171 #711171
triadic
#411171 #714111 #117141
tetradic
#411171 #711111 #417111 #117171
square
#411171 #711111 #417111 #117171
split-complementary
#411171 #717111 #117111
monochromatic
#0F041B #22093C #411171 #6019A6 #7E21DB

Accessibility & contrast

On white

13.61
#411171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#411171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411171
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411171#FFFFFF#000000##FFFFFF
##4111711.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#362C42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #411171;
/* rgb */ color: rgb(65, 17, 113);
/* oklch */ color: oklch(32.0% 0.149 300.3);
Tailwind
colors: {
  custom: {
    50: '#7b569b',
    500: '#411171',
    950: '#000000',
  },
}
SCSS
$custom: #411171;
$custom-light: #7b569b;
$custom-dark: #000000;
JSON
{
  "hex": "#411171",
  "rgb": {
    "r": 65,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 270,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31967,
    "c": 0.14942,
    "h": 300.3
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#411171
secondary
#6FA836
accent
#F13794
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #411171

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

Preview Lab → · Contrast checker → · Palette generator →

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