#412879#412879

#412879 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.131 H 292.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#412879
RGBrgb(65, 40, 121)
HSLhsl(259, 50%, 32%)
HSVhsv(259, 67%, 47%)
CMYKcmyk(46.3%, 66.9%, 0%, 52.5%)
CIE-LABlab(23.74, 31.99, -42.30)
CIE-LCHlch(23.74, 53.04, 307.10°)
OKLaboklab(35.64% 0.0506 -0.1209)
OKLCHoklch(35.64% 0.131 292.7)
XYZxyz(6.3890, 4.0217, 18.5251)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412879 #607928
analogous
#283779 #412879 #6A2879
triadic
#412879 #794128 #287941
tetradic
#412879 #792837 #607928 #28796A
square
#412879 #792837 #607928 #28796A
split-complementary
#412879 #796A28 #377928
monochromatic
#100A1D #28194B #412879 #5A37A7 #7855C7

Accessibility & contrast

On white

11.64
#412879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#412879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412879
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412879#FFFFFF#000000##FFFFFF
##4128791.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#313B4C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412879;
/* rgb */ color: rgb(65, 40, 121);
/* oklch */ color: oklch(35.6% 0.131 292.7);
Tailwind
colors: {
  custom: {
    50: '#7b63a0',
    500: '#412879',
    950: '#000000',
  },
}
SCSS
$custom: #412879;
$custom-light: #7b63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412879",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 258.519,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35639,
    "c": 0.13107,
    "h": 292.7
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#412879
secondary
#8FAB52
accent
#DA4EAF
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050F
muted
#7C7A7E

Preview Lab

Preview with #412879

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

Preview Lab → · Contrast checker → · Palette generator →

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