#412E80#412E80

#412E80 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.132 H 289.0°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#412E80
RGBrgb(65, 46, 128)
HSLhsl(254, 47%, 34%)
HSVhsv(254, 64%, 50%)
CMYKcmyk(49.2%, 64.1%, 0%, 49.8%)
CIE-LABlab(25.67, 30.48, -43.60)
CIE-LCHlch(25.67, 53.20, 304.96°)
OKLaboklab(37.22% 0.043 -0.1247)
OKLCHoklch(37.22% 0.132 289)
XYZxyz(7.0521, 4.6360, 20.9412)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E80 #6D802E
analogous
#2E4480 #412E80 #6A2E80
triadic
#412E80 #80412E #2E8041
tetradic
#412E80 #802E44 #6D802E #2E806A
square
#412E80 #802E44 #6D802E #2E806A
split-complementary
#412E80 #806A2E #44802E
monochromatic
#130E26 #2A1E53 #412E80 #583EAD #7962C7

Accessibility & contrast

On white

10.90
#412E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#412E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E80
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E80#FFFFFF#000000##FFFFFF
##412E801.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#2C4152
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412e80;
/* rgb */ color: rgb(65, 46, 128);
/* oklch */ color: oklch(37.2% 0.132 289.0);
Tailwind
colors: {
  custom: {
    50: '#7b68a5',
    500: '#412e80',
    950: '#000000',
  },
}
SCSS
$custom: #412e80;
$custom-light: #7b68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#412e80",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 253.902,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37216,
    "c": 0.13191,
    "h": 289
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#412E80
secondary
#9BAD5D
accent
#D751B8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412E80

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

Preview Lab → · Contrast checker → · Palette generator →

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