#412982#412982

#412982 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.142 H 290.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#412982
RGBrgb(65, 41, 130)
HSLhsl(256, 52%, 34%)
HSVhsv(256, 68%, 51%)
CMYKcmyk(50%, 68.5%, 0%, 49%)
CIE-LABlab(24.71, 34.14, -46.43)
CIE-LCHlch(24.71, 57.63, 306.33°)
OKLaboklab(36.57% 0.0483 -0.133)
OKLCHoklch(36.57% 0.142 290)
XYZxyz(7.0010, 4.3211, 21.5799)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412982 #6A8229
analogous
#293D82 #412982 #6D2982
triadic
#412982 #824129 #298241
tetradic
#412982 #82293D #6A8229 #29826D
square
#412982 #82293D #6A8229 #29826D
split-complementary
#412982 #826D29 #3D8229
monochromatic
#120C25 #2A1A53 #412982 #5838B1 #795ACB

Accessibility & contrast

On white

11.26
#412982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412982
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412982#FFFFFF#000000##FFFFFF
##4129821.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#2C3F52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412982;
/* rgb */ color: rgb(65, 41, 130);
/* oklch */ color: oklch(36.6% 0.142 290.0);
Tailwind
colors: {
  custom: {
    50: '#7c64a7',
    500: '#412982',
    950: '#000000',
  },
}
SCSS
$custom: #412982;
$custom-light: #7c64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#412982",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 256.18,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36567,
    "c": 0.14153,
    "h": 290
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#412982
secondary
#98B056
accent
#DB4CB5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #412982

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

Preview Lab → · Contrast checker → · Palette generator →

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