#412AAF#412AAF

#412AAF is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.197 H 281.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#412AAF
RGBrgb(65, 42, 175)
HSLhsl(250, 61%, 43%)
HSVhsv(250, 76%, 69%)
CMYKcmyk(62.9%, 76%, 0%, 31.4%)
CIE-LABlab(29.09, 47.39, -66.81)
CIE-LCHlch(29.09, 81.91, 305.35°)
OKLaboklab(40.97% 0.0382 -0.1928)
OKLCHoklch(40.97% 0.197 281.2)
XYZxyz(10.7434, 5.8741, 41.1168)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AAF #98AF2A
analogous
#2A55AF #412AAF #832AAF
triadic
#412AAF #AF412A #2AAF41
tetradic
#412AAF #AF2A55 #98AF2A #2AAF83
square
#412AAF #AF2A55 #98AF2A #2AAF83
split-complementary
#412AAF #AF832A #55AF2A
monochromatic
#1C124C #2F1E7E #412AAF #5D44D2 #8875DE

Accessibility & contrast

On white

9.66
#412AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#412AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AAF
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AAF#FFFFFF#000000##FFFFFF
##412AAF1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412aaf;
/* rgb */ color: rgb(65, 42, 175);
/* oklch */ color: oklch(41.0% 0.197 281.2);
Tailwind
colors: {
  custom: {
    50: '#8467c8',
    500: '#412aaf',
    950: '#000000',
  },
}
SCSS
$custom: #412aaf;
$custom-light: #8467c8;
$custom-dark: #000000;
JSON
{
  "hex": "#412aaf",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 250.376,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40966,
    "c": 0.1965,
    "h": 281.2
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#412AAF
secondary
#B7C66F
accent
#E443C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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