#412AB1#412AB1

#412AB1 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.199 H 280.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#412AB1
RGBrgb(65, 42, 177)
HSLhsl(250, 62%, 43%)
HSVhsv(250, 76%, 69%)
CMYKcmyk(63.3%, 76.3%, 0%, 30.6%)
CIE-LABlab(29.29, 47.99, -67.68)
CIE-LCHlch(29.29, 82.97, 305.34°)
OKLaboklab(41.17% 0.0377 -0.1953)
OKLCHoklch(41.17% 0.199 280.9)
XYZxyz(10.9412, 5.9532, 42.1590)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AB1 #9AB12A
analogous
#2A57B1 #412AB1 #842AB1
triadic
#412AB1 #B1412A #2AB141
tetradic
#412AB1 #B12A57 #9AB12A #2AB184
square
#412AB1 #B12A57 #9AB12A #2AB184
split-complementary
#412AB1 #B1842A #57B12A
monochromatic
#1D134E #2F1E80 #412AB1 #5D45D3 #8877DF

Accessibility & contrast

On white

9.59
#412AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#412AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AB1
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AB1#FFFFFF#000000##FFFFFF
##412AB11.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412ab1;
/* rgb */ color: rgb(65, 42, 177);
/* oklch */ color: oklch(41.2% 0.199 280.9);
Tailwind
colors: {
  custom: {
    50: '#8467ca',
    500: '#412ab1',
    950: '#000000',
  },
}
SCSS
$custom: #412ab1;
$custom-light: #8467ca;
$custom-dark: #000000;
JSON
{
  "hex": "#412ab1",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 250.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41168,
    "c": 0.19888,
    "h": 280.9
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#412AB1
secondary
#B8C670
accent
#E543C9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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