#412578#412578

#412578 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.134 H 293.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#412578
RGBrgb(65, 37, 120)
HSLhsl(260, 53%, 31%)
HSVhsv(260, 69%, 47%)
CMYKcmyk(45.8%, 69.2%, 0%, 52.9%)
CIE-LABlab(23.01, 33.47, -42.86)
CIE-LCHlch(23.01, 54.38, 307.99°)
OKLaboklab(35.08% 0.0542 -0.1225)
OKLCHoklch(35.08% 0.134 293.9)
XYZxyz(6.2308, 3.8028, 18.1714)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412578 #5C7825
analogous
#253278 #412578 #6A2578
triadic
#412578 #784125 #257841
tetradic
#412578 #782532 #5C7825 #25786A
square
#412578 #782532 #5C7825 #25786A
split-complementary
#412578 #786A25 #327825
monochromatic
#0E081A #281749 #412578 #5A33A7 #784FC9

Accessibility & contrast

On white

11.93
#412578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#412578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412578
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412578#FFFFFF#000000##FFFFFF
##4125781.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#32394B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412578;
/* rgb */ color: rgb(65, 37, 120);
/* oklch */ color: oklch(35.1% 0.134 293.9);
Tailwind
colors: {
  custom: {
    50: '#7b61a0',
    500: '#412578',
    950: '#000000',
  },
}
SCSS
$custom: #412578;
$custom-light: #7b61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412578",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 120
  },
  "hsl": {
    "h": 260.241,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35084,
    "c": 0.13397,
    "h": 293.9
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#412578
secondary
#8BAA4E
accent
#DC4CAB
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #412578

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

Preview Lab → · Contrast checker → · Palette generator →

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