#412E79#412E79

#412E79 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.6% C 0.122 H 290.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#412E79
RGBrgb(65, 46, 121)
HSLhsl(255, 45%, 33%)
HSVhsv(255, 62%, 47%)
CMYKcmyk(46.3%, 62%, 0%, 52.5%)
CIE-LABlab(25.13, 28.30, -40.05)
CIE-LCHlch(25.13, 49.04, 305.24°)
OKLaboklab(36.65% 0.0434 -0.1143)
OKLCHoklch(36.65% 0.122 290.8)
XYZxyz(6.6072, 4.4581, 18.5978)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E79 #66792E
analogous
#2E4079 #412E79 #662E79
triadic
#412E79 #79412E #2E7941
tetradic
#412E79 #792E40 #66792E #2E7966
square
#412E79 #792E40 #66792E #2E7966
split-complementary
#412E79 #79662E #40792E
monochromatic
#110C20 #291D4D #412E79 #593FA5 #785FC2

Accessibility & contrast

On white

11.10
#412E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E79
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E79#FFFFFF#000000##FFFFFF
##412E791.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#303F4F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412e79;
/* rgb */ color: rgb(65, 46, 121);
/* oklch */ color: oklch(36.6% 0.122 290.8);
Tailwind
colors: {
  custom: {
    50: '#7a67a0',
    500: '#412e79',
    950: '#000000',
  },
}
SCSS
$custom: #412e79;
$custom-light: #7a67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412e79",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 255.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3665,
    "c": 0.12224,
    "h": 290.8
  },
  "luminance": 0.04458
}

Semantic roles & 50–950 ramp

primary
#412E79
secondary
#95A95A
accent
#D553B4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #412E79

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

Preview Lab → · Contrast checker → · Palette generator →

#412E79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva