#412F87#412F87

#412F87 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.140 H 287.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#412F87
RGBrgb(65, 47, 135)
HSLhsl(252, 48%, 36%)
HSVhsv(252, 65%, 53%)
CMYKcmyk(51.9%, 65.2%, 0%, 47.1%)
CIE-LABlab(26.46, 32.07, -46.69)
CIE-LCHlch(26.46, 56.65, 304.48°)
OKLaboklab(37.97% 0.0413 -0.1338)
OKLCHoklch(37.97% 0.14 287.1)
XYZxyz(7.5684, 4.9058, 23.4651)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F87 #75872F
analogous
#2F4987 #412F87 #6D2F87
triadic
#412F87 #87412F #2F8741
tetradic
#412F87 #872F49 #75872F #2F876D
square
#412F87 #872F49 #75872F #2F876D
split-complementary
#412F87 #876D2F #49872F
monochromatic
#150F2C #2B1F5A #412F87 #573FB4 #7B66CA

Accessibility & contrast

On white

10.60
#412F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#412F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F87
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F87#FFFFFF#000000##FFFFFF
##412F871.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#284456
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412f87;
/* rgb */ color: rgb(65, 47, 135);
/* oklch */ color: oklch(38.0% 0.140 287.1);
Tailwind
colors: {
  custom: {
    50: '#7c68ab',
    500: '#412f87',
    950: '#000000',
  },
}
SCSS
$custom: #412f87;
$custom-light: #7c68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#412f87",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 252.273,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37969,
    "c": 0.14003,
    "h": 287.1
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#412F87
secondary
#A1B161
accent
#D850BC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412F87

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

Preview Lab → · Contrast checker → · Palette generator →

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