#411173#411173

#411173 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.152 H 299.5°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#411173
RGBrgb(65, 17, 115)
HSLhsl(269, 74%, 26%)
HSVhsv(269, 85%, 45%)
CMYKcmyk(43.5%, 85.2%, 0%, 54.9%)
CIE-LABlab(19.07, 41.94, -46.09)
CIE-LCHlch(19.07, 62.31, 312.31°)
OKLaboklab(32.16% 0.0747 -0.1319)
OKLCHoklch(32.16% 0.152 299.5)
XYZxyz(5.4741, 2.7624, 16.4611)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#411173 #437311
analogous
#111273 #411173 #721173
triadic
#411173 #734111 #117341
tetradic
#411173 #731112 #437311 #117372
square
#411173 #731112 #437311 #117372
split-complementary
#411173 #737211 #127311
monochromatic
#0F041B #23093E #411173 #5F19A8 #7D21DE

Accessibility & contrast

On white

13.53
#411173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #411173
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##411173#FFFFFF#000000##FFFFFF
##4111731.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#352D43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #411173;
/* rgb */ color: rgb(65, 17, 115);
/* oklch */ color: oklch(32.2% 0.152 299.5);
Tailwind
colors: {
  custom: {
    50: '#7c569c',
    500: '#411173',
    950: '#000000',
  },
}
SCSS
$custom: #411173;
$custom-light: #7c569c;
$custom-dark: #000000;
JSON
{
  "hex": "#411173",
  "rgb": {
    "r": 65,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 269.388,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3216,
    "c": 0.15156,
    "h": 299.5
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#411173
secondary
#71AA36
accent
#F13796
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #411173

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

Preview Lab → · Contrast checker → · Palette generator →

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