#412AA1#412AA1

#412AA1 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.180 H 283.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#412AA1
RGBrgb(65, 42, 161)
HSLhsl(252, 59%, 40%)
HSVhsv(252, 74%, 63%)
CMYKcmyk(59.6%, 73.9%, 0%, 36.9%)
CIE-LABlab(27.72, 43.11, -60.64)
CIE-LCHlch(27.72, 74.41, 305.41°)
OKLaboklab(39.58% 0.0415 -0.1747)
OKLCHoklch(39.58% 0.18 283.4)
XYZxyz(9.4390, 5.3523, 34.2470)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AA1 #8AA12A
analogous
#2A4EA1 #412AA1 #7D2AA1
triadic
#412AA1 #A1412A #2AA141
tetradic
#412AA1 #A12A4E #8AA12A #2AA17D
square
#412AA1 #A12A4E #8AA12A #2AA17D
split-complementary
#412AA1 #A17D2A #4EA12A
monochromatic
#1A1140 #2D1D70 #412AA1 #583CCC #826DD9

Accessibility & contrast

On white

10.14
#412AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#412AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AA1
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AA1#FFFFFF#000000##FFFFFF
##412AA11.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#034B63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412aa1;
/* rgb */ color: rgb(65, 42, 161);
/* oklch */ color: oklch(39.6% 0.180 283.4);
Tailwind
colors: {
  custom: {
    50: '#8166be',
    500: '#412aa1',
    950: '#000000',
  },
}
SCSS
$custom: #412aa1;
$custom-light: #8166be;
$custom-dark: #000000;
JSON
{
  "hex": "#412aa1",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 251.597,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39579,
    "c": 0.17959,
    "h": 283.4
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#412AA1
secondary
#AEC067
accent
#E246C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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