#412173#412173

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

Color values

HEX#412173
RGBrgb(65, 33, 115)
HSLhsl(263, 55%, 29%)
HSVhsv(263, 71%, 45%)
CMYKcmyk(43.5%, 71.3%, 0%, 54.9%)
CIE-LABlab(21.76, 34.29, -41.69)
CIE-LCHlch(21.76, 53.98, 309.44°)
OKLaboklab(34.06% 0.0595 -0.1191)
OKLCHoklch(34.06% 0.133 296.5)
XYZxyz(5.8175, 3.4492, 16.5756)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412173 #537321
analogous
#212A73 #412173 #6A2173
triadic
#412173 #734121 #217341
tetradic
#412173 #73212A #537321 #21736A
square
#412173 #73212A #537321 #21736A
split-complementary
#412173 #736A21 #2A7321
monochromatic
#0D0718 #261343 #412173 #5C2FA3 #7945CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412173#FFFFFF#000000##FFFFFF
##4121731.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)
#003575
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#343547
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412173;
/* rgb */ color: rgb(65, 33, 115);
/* oklch */ color: oklch(34.1% 0.133 296.5);
Tailwind
colors: {
  custom: {
    50: '#7a5f9c',
    500: '#412173',
    950: '#000000',
  },
}
SCSS
$custom: #412173;
$custom-light: #7a5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#412173",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 263.415,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34057,
    "c": 0.1331,
    "h": 296.5
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#412173
secondary
#82A649
accent
#DF49A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412173

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

Preview Lab → · Contrast checker → · Palette generator →

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