#412471#412471

#412471 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.126 H 296.4°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#412471
RGBrgb(65, 36, 113)
HSLhsl(263, 52%, 29%)
HSVhsv(263, 68%, 44%)
CMYKcmyk(42.5%, 68.1%, 0%, 55.7%)
CIE-LABlab(22.22, 31.99, -39.65)
CIE-LCHlch(22.22, 50.94, 308.90°)
OKLaboklab(34.34% 0.0563 -0.1131)
OKLCHoklch(34.34% 0.126 296.4)
XYZxyz(5.7907, 3.5777, 16.0051)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412471 #547124
analogous
#242E71 #412471 #682471
triadic
#412471 #714124 #247141
tetradic
#412471 #71242E #547124 #247168
square
#412471 #71242E #547124 #247168
split-complementary
#412471 #716824 #2E7124
monochromatic
#0D0717 #261543 #412471 #5C339F #784AC5

Accessibility & contrast

On white

12.24
#412471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#412471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412471
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412471#FFFFFF#000000##FFFFFF
##4124711.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412471;
/* rgb */ color: rgb(65, 36, 113);
/* oklch */ color: oklch(34.3% 0.126 296.4);
Tailwind
colors: {
  custom: {
    50: '#7a619a',
    500: '#412471',
    950: '#000000',
  },
}
SCSS
$custom: #412471;
$custom-light: #7a619a;
$custom-dark: #000000;
JSON
{
  "hex": "#412471",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 262.597,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.12631,
    "h": 296.4
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#412471
secondary
#83A44D
accent
#DB4DA5
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412471

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

Preview Lab → · Contrast checker → · Palette generator →

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