#412AAC#412AAC

#412AAC is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.193 H 281.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#412AAC
RGBrgb(65, 42, 172)
HSLhsl(251, 61%, 42%)
HSVhsv(251, 76%, 67%)
CMYKcmyk(62.2%, 75.6%, 0%, 32.5%)
CIE-LABlab(28.79, 46.48, -65.51)
CIE-LCHlch(28.79, 80.32, 305.35°)
OKLaboklab(40.66% 0.0389 -0.1889)
OKLCHoklch(40.66% 0.193 281.6)
XYZxyz(10.4520, 5.7575, 39.5823)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AAC #95AC2A
analogous
#2A54AC #412AAC #822AAC
triadic
#412AAC #AC412A #2AAC41
tetradic
#412AAC #AC2A54 #95AC2A #2AAC82
square
#412AAC #AC2A54 #95AC2A #2AAC82
split-complementary
#412AAC #AC822A #54AC2A
monochromatic
#1C124A #2E1E7B #412AAC #5C42D1 #8673DD

Accessibility & contrast

On white

9.76
#412AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#412AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AAC
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AAC#FFFFFF#000000##FFFFFF
##412AAC1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412aac;
/* rgb */ color: rgb(65, 42, 172);
/* oklch */ color: oklch(40.7% 0.193 281.6);
Tailwind
colors: {
  custom: {
    50: '#8367c6',
    500: '#412aac',
    950: '#000000',
  },
}
SCSS
$custom: #412aac;
$custom-light: #8367c6;
$custom-dark: #000000;
JSON
{
  "hex": "#412aac",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 250.615,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40664,
    "c": 0.19291,
    "h": 281.6
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#412AAC
secondary
#B5C46D
accent
#E444C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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