#412559#412559

#412559 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.7% C 0.093 H 306.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#412559
RGBrgb(65, 37, 89)
HSLhsl(272, 41%, 25%)
HSVhsv(272, 58%, 35%)
CMYKcmyk(27%, 58.4%, 0%, 65.1%)
CIE-LABlab(20.71, 24.58, -26.39)
CIE-LCHlch(20.71, 36.07, 312.96°)
OKLaboklab(32.67% 0.0556 -0.0742)
OKLCHoklch(32.67% 0.093 306.9)
XYZxyz(4.6443, 3.1683, 9.8161)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412559 #3D5925
analogous
#272559 #412559 #592557
triadic
#412559 #594125 #255941
tetradic
#412559 #592725 #3D5925 #255759
square
#412559 #592725 #3D5925 #255759
split-complementary
#412559 #575925 #255927
monochromatic
#100916 #21132E #412559 #613784 #8049AF

Accessibility & contrast

On white

12.86
#412559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#412559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412559
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412559#FFFFFF#000000##FFFFFF
##4125591.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14315B
Deuteranopia (green-blind)
#1D3258
Tritanopia (blue-blind)
#3D2E3B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412559;
/* rgb */ color: rgb(65, 37, 89);
/* oklch */ color: oklch(32.7% 0.093 306.9);
Tailwind
colors: {
  custom: {
    50: '#776188',
    500: '#412559',
    950: '#000000',
  },
}
SCSS
$custom: #412559;
$custom-light: #776188;
$custom-dark: #000000;
JSON
{
  "hex": "#412559",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 89
  },
  "hsl": {
    "h": 272.308,
    "s": 41.27,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32675,
    "c": 0.09271,
    "h": 306.9
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#412559
secondary
#6A8C4D
accent
#D1578F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412559

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

Preview Lab → · Contrast checker → · Palette generator →

#412559 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva