#412558#412558

#412558 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.6% C 0.091 H 307.4°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#412558
RGBrgb(65, 37, 88)
HSLhsl(273, 41%, 25%)
HSVhsv(273, 58%, 35%)
CMYKcmyk(26.1%, 58%, 0%, 65.5%)
CIE-LABlab(20.64, 24.31, -25.83)
CIE-LCHlch(20.64, 35.47, 313.26°)
OKLaboklab(32.61% 0.0555 -0.0725)
OKLCHoklch(32.61% 0.091 307.4)
XYZxyz(4.6026, 3.1516, 9.5965)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412558 #3C5825
analogous
#282558 #412558 #582556
triadic
#412558 #584125 #255841
tetradic
#412558 #582825 #3C5825 #255658
square
#412558 #582825 #3C5825 #255658
split-complementary
#412558 #565825 #255828
monochromatic
#100916 #21132D #412558 #613783 #8149AE

Accessibility & contrast

On white

12.88
#412558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412558
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412558#FFFFFF#000000##FFFFFF
##4125581.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15315A
Deuteranopia (green-blind)
#1E3257
Tritanopia (blue-blind)
#3E2E3A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412558;
/* rgb */ color: rgb(65, 37, 88);
/* oklch */ color: oklch(32.6% 0.091 307.4);
Tailwind
colors: {
  custom: {
    50: '#776087',
    500: '#412558',
    950: '#000000',
  },
}
SCSS
$custom: #412558;
$custom-light: #776087;
$custom-dark: #000000;
JSON
{
  "hex": "#412558",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 272.941,
    "s": 40.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32606,
    "c": 0.09135,
    "h": 307.4
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#412558
secondary
#698B4D
accent
#D1578E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412558

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

Preview Lab → · Contrast checker → · Palette generator →

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