#412579#412579

#412579 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.135 H 293.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#412579
RGBrgb(65, 37, 121)
HSLhsl(260, 53%, 31%)
HSVhsv(260, 69%, 47%)
CMYKcmyk(46.3%, 69.4%, 0%, 52.5%)
CIE-LABlab(23.09, 33.76, -43.36)
CIE-LCHlch(23.09, 54.95, 307.91°)
OKLaboklab(35.17% 0.054 -0.124)
OKLCHoklch(35.17% 0.135 293.5)
XYZxyz(6.2918, 3.8272, 18.4927)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412579 #5D7925
analogous
#253379 #412579 #6B2579
triadic
#412579 #794125 #257941
tetradic
#412579 #792533 #5D7925 #25796B
square
#412579 #792533 #5D7925 #25796B
split-complementary
#412579 #796B25 #337925
monochromatic
#0F081B #28174A #412579 #5A33A8 #784FC9

Accessibility & contrast

On white

11.90
#412579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#412579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412579
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412579#FFFFFF#000000##FFFFFF
##4125791.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#31394B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412579;
/* rgb */ color: rgb(65, 37, 121);
/* oklch */ color: oklch(35.2% 0.135 293.5);
Tailwind
colors: {
  custom: {
    50: '#7b61a0',
    500: '#412579',
    950: '#000000',
  },
}
SCSS
$custom: #412579;
$custom-light: #7b61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412579",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 260,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3517,
    "c": 0.13526,
    "h": 293.5
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#412579
secondary
#8CAB4E
accent
#DD4BAC
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #412579

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

Preview Lab → · Contrast checker → · Palette generator →

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