#412B71#412B71

#412B71 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.5% C 0.116 H 294.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#412B71
RGBrgb(65, 43, 113)
HSLhsl(259, 45%, 31%)
HSVhsv(259, 62%, 44%)
CMYKcmyk(42.5%, 61.9%, 0%, 55.7%)
CIE-LABlab(23.82, 27.73, -37.07)
CIE-LCHlch(23.82, 46.30, 306.79°)
OKLaboklab(35.5% 0.0475 -0.1055)
OKLCHoklch(35.5% 0.116 294.2)
XYZxyz(6.0237, 4.0437, 16.0827)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B71 #5B712B
analogous
#2B3871 #412B71 #642B71
triadic
#412B71 #71412B #2B7141
tetradic
#412B71 #712B38 #5B712B #2B7164
square
#412B71 #712B38 #5B712B #2B7164
split-complementary
#412B71 #71642B #38712B
monochromatic
#0E0918 #271A45 #412B71 #5A3C9D #7857BF

Accessibility & contrast

On white

11.61
#412B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#412B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B71
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B71#FFFFFF#000000##FFFFFF
##412B711.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412b71;
/* rgb */ color: rgb(65, 43, 113);
/* oklch */ color: oklch(35.5% 0.116 294.2);
Tailwind
colors: {
  custom: {
    50: '#79659a',
    500: '#412b71',
    950: '#000000',
  },
}
SCSS
$custom: #412b71;
$custom-light: #79659a;
$custom-dark: #000000;
JSON
{
  "hex": "#412b71",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 258.857,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.11571,
    "h": 294.2
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#412B71
secondary
#8AA355
accent
#D553AC
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412B71

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

Preview Lab → · Contrast checker → · Palette generator →

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