#412AB3#412AB3

#412AB3 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.4% C 0.201 H 280.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#412AB3
RGBrgb(65, 42, 179)
HSLhsl(250, 62%, 43%)
HSVhsv(250, 77%, 70%)
CMYKcmyk(63.7%, 76.5%, 0%, 29.8%)
CIE-LABlab(29.50, 48.60, -68.54)
CIE-LCHlch(29.50, 84.02, 305.34°)
OKLaboklab(41.37% 0.0371 -0.1978)
OKLCHoklch(41.37% 0.201 280.6)
XYZxyz(11.1420, 6.0336, 43.2165)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AB3 #9CB32A
analogous
#2A57B3 #412AB3 #852AB3
triadic
#412AB3 #B3412A #2AB341
tetradic
#412AB3 #B32A57 #9CB32A #2AB385
square
#412AB3 #B32A57 #9CB32A #2AB385
split-complementary
#412AB3 #B3852A #57B32A
monochromatic
#1D1350 #2F1E81 #412AB3 #5E46D4 #8978DF

Accessibility & contrast

On white

9.52
#412AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#412AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AB3
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AB3#FFFFFF#000000##FFFFFF
##412AB31.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412ab3;
/* rgb */ color: rgb(65, 42, 179);
/* oklch */ color: oklch(41.4% 0.201 280.6);
Tailwind
colors: {
  custom: {
    50: '#8467cb',
    500: '#412ab3',
    950: '#000000',
  },
}
SCSS
$custom: #412ab3;
$custom-light: #8467cb;
$custom-dark: #000000;
JSON
{
  "hex": "#412ab3",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 250.073,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.20125,
    "h": 280.6
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#412AB3
secondary
#B9C772
accent
#E543CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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