#412D71#412D71

#412D71 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.9% C 0.113 H 293.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#412D71
RGBrgb(65, 45, 113)
HSLhsl(258, 43%, 31%)
HSVhsv(258, 60%, 44%)
CMYKcmyk(42.5%, 60.2%, 0%, 55.7%)
CIE-LABlab(24.30, 26.47, -36.30)
CIE-LCHlch(24.30, 44.92, 306.10°)
OKLaboklab(35.85% 0.0448 -0.1032)
OKLCHoklch(35.85% 0.113 293.5)
XYZxyz(6.0982, 4.1927, 16.1076)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D71 #5D712D
analogous
#2D3B71 #412D71 #632D71
triadic
#412D71 #71412D #2D7141
tetradic
#412D71 #712D3B #5D712D #2D7163
square
#412D71 #712D3B #5D712D #2D7163
split-complementary
#412D71 #71632D #3B712D
monochromatic
#0F0A19 #281C45 #412D71 #5A3E9D #785BBE

Accessibility & contrast

On white

11.42
#412D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#412D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D71
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D71#FFFFFF#000000##FFFFFF
##412D711.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B73
Deuteranopia (green-blind)
#0E3970
Tritanopia (blue-blind)
#343C4A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412d71;
/* rgb */ color: rgb(65, 45, 113);
/* oklch */ color: oklch(35.9% 0.113 293.5);
Tailwind
colors: {
  custom: {
    50: '#79679a',
    500: '#412d71',
    950: '#000000',
  },
}
SCSS
$custom: #412d71;
$custom-light: #79679a;
$custom-dark: #000000;
JSON
{
  "hex": "#412d71",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 257.647,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.11255,
    "h": 293.5
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#412D71
secondary
#8CA357
accent
#D355AE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412D71

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

Preview Lab → · Contrast checker → · Palette generator →

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