#412A71#412A71

#412A71 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.3% C 0.117 H 294.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#412A71
RGBrgb(65, 42, 113)
HSLhsl(259, 46%, 30%)
HSVhsv(259, 63%, 44%)
CMYKcmyk(42.5%, 62.8%, 0%, 55.7%)
CIE-LABlab(23.58, 28.35, -37.46)
CIE-LCHlch(23.58, 46.98, 307.13°)
OKLaboklab(35.32% 0.0488 -0.1066)
OKLCHoklch(35.32% 0.117 294.6)
XYZxyz(5.9878, 3.9719, 16.0707)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A71 #5A712A
analogous
#2A3671 #412A71 #642A71
triadic
#412A71 #71412A #2A7141
tetradic
#412A71 #712A36 #5A712A #2A7164
square
#412A71 #712A36 #5A712A #2A7164
split-complementary
#412A71 #71642A #36712A
monochromatic
#0E0918 #271944 #412A71 #5B3B9E #7855C0

Accessibility & contrast

On white

11.70
#412A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A71
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A71#FFFFFF#000000##FFFFFF
##412A711.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#06376F
Tritanopia (blue-blind)
#353A49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412a71;
/* rgb */ color: rgb(65, 42, 113);
/* oklch */ color: oklch(35.3% 0.117 294.6);
Tailwind
colors: {
  custom: {
    50: '#79649a',
    500: '#412a71',
    950: '#000000',
  },
}
SCSS
$custom: #412a71;
$custom-light: #79649a;
$custom-dark: #000000;
JSON
{
  "hex": "#412a71",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 259.437,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35322,
    "c": 0.11727,
    "h": 294.6
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#412A71
secondary
#89A354
accent
#D552AB
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #412A71

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

Preview Lab → · Contrast checker → · Palette generator →

#412A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva