#412BA3#412BA3

#412BA3 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.181 H 282.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#412BA3
RGBrgb(65, 43, 163)
HSLhsl(251, 58%, 40%)
HSVhsv(251, 74%, 64%)
CMYKcmyk(60.1%, 73.6%, 0%, 36.1%)
CIE-LABlab(28.10, 43.18, -61.22)
CIE-LCHlch(28.10, 74.92, 305.20°)
OKLaboklab(39.91% 0.0403 -0.1764)
OKLCHoklch(39.91% 0.181 282.9)
XYZxyz(9.6527, 5.4953, 35.1953)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BA3 #8DA32B
analogous
#2B51A3 #412BA3 #7D2BA3
triadic
#412BA3 #A3412B #2BA341
tetradic
#412BA3 #A32B51 #8DA32B #2BA37D
square
#412BA3 #A32B51 #8DA32B #2BA37D
split-complementary
#412BA3 #A37D2B #51A32B
monochromatic
#1A1142 #2E1E73 #412BA3 #593FCC #836FD9

Accessibility & contrast

On white

10.00
#412BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#412BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BA3
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BA3#FFFFFF#000000##FFFFFF
##412BA31.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412ba3;
/* rgb */ color: rgb(65, 43, 163);
/* oklch */ color: oklch(39.9% 0.181 282.9);
Tailwind
colors: {
  custom: {
    50: '#8167bf',
    500: '#412ba3',
    950: '#000000',
  },
}
SCSS
$custom: #412ba3;
$custom-light: #8167bf;
$custom-dark: #000000;
JSON
{
  "hex": "#412ba3",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 251,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39911,
    "c": 0.18097,
    "h": 282.9
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#412BA3
secondary
#B0C06A
accent
#E146C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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