#412571#412571

#412571 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.125 H 296.2°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#412571
RGBrgb(65, 37, 113)
HSLhsl(262, 51%, 29%)
HSVhsv(262, 67%, 44%)
CMYKcmyk(42.5%, 67.3%, 0%, 55.7%)
CIE-LABlab(22.44, 31.40, -39.30)
CIE-LCHlch(22.44, 50.30, 308.63°)
OKLaboklab(34.49% 0.055 -0.1121)
OKLCHoklch(34.49% 0.125 296.2)
XYZxyz(5.8214, 3.6391, 16.0153)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412571 #557125
analogous
#252F71 #412571 #672571
triadic
#412571 #714125 #257141
tetradic
#412571 #71252F #557125 #257167
square
#412571 #71252F #557125 #257167
split-complementary
#412571 #716725 #2F7125
monochromatic
#0D0817 #261643 #412571 #5C349F #784CC4

Accessibility & contrast

On white

12.15
#412571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#412571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412571
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412571#FFFFFF#000000##FFFFFF
##4125711.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#353647
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412571;
/* rgb */ color: rgb(65, 37, 113);
/* oklch */ color: oklch(34.5% 0.125 296.2);
Tailwind
colors: {
  custom: {
    50: '#7a619a',
    500: '#412571',
    950: '#000000',
  },
}
SCSS
$custom: #412571;
$custom-light: #7a619a;
$custom-dark: #000000;
JSON
{
  "hex": "#412571",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 262.105,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34495,
    "c": 0.12485,
    "h": 296.2
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#412571
secondary
#84A44E
accent
#DA4EA6
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #412571

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

Preview Lab → · Contrast checker → · Palette generator →

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