#412BA1#412BA1

#412BA1 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.179 H 283.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#412BA1
RGBrgb(65, 43, 161)
HSLhsl(251, 58%, 40%)
HSVhsv(251, 73%, 63%)
CMYKcmyk(59.6%, 73.3%, 0%, 36.9%)
CIE-LABlab(27.91, 42.57, -60.32)
CIE-LCHlch(27.91, 73.83, 305.21°)
OKLaboklab(39.72% 0.0408 -0.1738)
OKLCHoklch(39.72% 0.179 283.2)
XYZxyz(9.4749, 5.4242, 34.2590)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BA1 #8BA12B
analogous
#2B50A1 #412BA1 #7C2BA1
triadic
#412BA1 #A1412B #2BA141
tetradic
#412BA1 #A12B50 #8BA12B #2BA17C
square
#412BA1 #A12B50 #8BA12B #2BA17C
split-complementary
#412BA1 #A17C2B #50A12B
monochromatic
#1A1140 #2D1E71 #412BA1 #583ECB #826ED8

Accessibility & contrast

On white

10.07
#412BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#412BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BA1
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BA1#FFFFFF#000000##FFFFFF
##412BA11.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#034B63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412ba1;
/* rgb */ color: rgb(65, 43, 161);
/* oklch */ color: oklch(39.7% 0.179 283.2);
Tailwind
colors: {
  custom: {
    50: '#8167be',
    500: '#412ba1',
    950: '#000000',
  },
}
SCSS
$custom: #412ba1;
$custom-light: #8167be;
$custom-dark: #000000;
JSON
{
  "hex": "#412ba1",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 251.186,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.39717,
    "c": 0.17851,
    "h": 283.2
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#412BA1
secondary
#AFBF69
accent
#E147C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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