#412F89#412F89

#412F89 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.1% C 0.143 H 286.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#412F89
RGBrgb(65, 47, 137)
HSLhsl(252, 49%, 36%)
HSVhsv(252, 66%, 54%)
CMYKcmyk(52.6%, 65.7%, 0%, 46.3%)
CIE-LABlab(26.63, 32.71, -47.67)
CIE-LCHlch(26.63, 57.81, 304.45°)
OKLaboklab(38.14% 0.0411 -0.1367)
OKLCHoklch(38.14% 0.143 286.7)
XYZxyz(7.7105, 4.9626, 24.2137)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F89 #77892F
analogous
#2F4A89 #412F89 #6E2F89
triadic
#412F89 #89412F #2F8941
tetradic
#412F89 #892F4A #77892F #2F896E
square
#412F89 #892F4A #77892F #2F896E
split-complementary
#412F89 #896E2F #4A892F
monochromatic
#16102E #2B1F5B #412F89 #573FB7 #7B67CB

Accessibility & contrast

On white

10.54
#412F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#412F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F89
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F89#FFFFFF#000000##FFFFFF
##412F891.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#264557
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412f89;
/* rgb */ color: rgb(65, 47, 137);
/* oklch */ color: oklch(38.1% 0.143 286.7);
Tailwind
colors: {
  custom: {
    50: '#7d68ac',
    500: '#412f89',
    950: '#000000',
  },
}
SCSS
$custom: #412f89;
$custom-light: #7d68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412f89",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 252,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38139,
    "c": 0.14274,
    "h": 286.7
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#412F89
secondary
#A2B262
accent
#D84FBD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412F89

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

Preview Lab → · Contrast checker → · Palette generator →

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