#411172#411172

#411172 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.150 H 299.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#411172
RGBrgb(65, 17, 114)
HSLhsl(270, 74%, 26%)
HSVhsv(270, 85%, 45%)
CMYKcmyk(43%, 85.1%, 0%, 55.3%)
CIE-LABlab(18.97, 41.69, -45.60)
CIE-LCHlch(18.97, 61.78, 312.43°)
OKLaboklab(32.06% 0.075 -0.1304)
OKLCHoklch(32.06% 0.15 299.9)
XYZxyz(5.4169, 2.7396, 16.1597)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411172 #427211
analogous
#111172 #411172 #711172
triadic
#411172 #724111 #117241
tetradic
#411172 #721111 #427211 #117271
square
#411172 #721111 #427211 #117271
split-complementary
#411172 #727111 #117211
monochromatic
#0F041B #23093D #411172 #5F19A7 #7E21DD

Accessibility & contrast

On white

13.57
#411172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#411172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #411172
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411172#FFFFFF#000000##FFFFFF
##4111721.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#352D42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #411172;
/* rgb */ color: rgb(65, 17, 114);
/* oklch */ color: oklch(32.1% 0.150 299.9);
Tailwind
colors: {
  custom: {
    50: '#7b569b',
    500: '#411172',
    950: '#000000',
  },
}
SCSS
$custom: #411172;
$custom-light: #7b569b;
$custom-dark: #000000;
JSON
{
  "hex": "#411172",
  "rgb": {
    "r": 65,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 269.691,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32063,
    "c": 0.15049,
    "h": 299.9
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#411172
secondary
#70A936
accent
#F13795
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #411172

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

Preview Lab → · Contrast checker → · Palette generator →

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