#412981#412981

#412981 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.140 H 290.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#412981
RGBrgb(65, 41, 129)
HSLhsl(256, 52%, 33%)
HSVhsv(256, 68%, 51%)
CMYKcmyk(49.6%, 68.2%, 0%, 49.4%)
CIE-LABlab(24.62, 33.83, -45.93)
CIE-LCHlch(24.62, 57.05, 306.37°)
OKLaboklab(36.48% 0.0485 -0.1316)
OKLCHoklch(36.48% 0.14 290.2)
XYZxyz(6.9342, 4.2944, 21.2282)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412981 #698129
analogous
#293D81 #412981 #6D2981
triadic
#412981 #814129 #298141
tetradic
#412981 #81293D #698129 #29816D
square
#412981 #81293D #698129 #29816D
split-complementary
#412981 #816D29 #3D8129
monochromatic
#120B24 #2A1A53 #412981 #5838AF #795ACB

Accessibility & contrast

On white

11.30
#412981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412981
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412981#FFFFFF#000000##FFFFFF
##4129811.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#2C3E51
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412981;
/* rgb */ color: rgb(65, 41, 129);
/* oklch */ color: oklch(36.5% 0.140 290.2);
Tailwind
colors: {
  custom: {
    50: '#7c64a6',
    500: '#412981',
    950: '#000000',
  },
}
SCSS
$custom: #412981;
$custom-light: #7c64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#412981",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 129
  },
  "hsl": {
    "h": 256.364,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3648,
    "c": 0.14023,
    "h": 290.2
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#412981
secondary
#97B056
accent
#DB4DB4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #412981

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

Preview Lab → · Contrast checker → · Palette generator →

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