#412BAE#412BAE

#412BAE is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.194 H 281.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#412BAE
RGBrgb(65, 43, 174)
HSLhsl(250, 60%, 43%)
HSVhsv(250, 75%, 68%)
CMYKcmyk(62.6%, 75.3%, 0%, 31.8%)
CIE-LABlab(29.18, 46.56, -66.08)
CIE-LCHlch(29.18, 80.84, 305.17°)
OKLaboklab(40.99% 0.0378 -0.1906)
OKLCHoklch(40.99% 0.194 281.2)
XYZxyz(10.6814, 5.9068, 40.6134)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BAE #98AE2B
analogous
#2B57AE #412BAE #822BAE
triadic
#412BAE #AE412B #2BAE41
tetradic
#412BAE #AE2B57 #98AE2B #2BAE82
square
#412BAE #AE2B57 #98AE2B #2BAE82
split-complementary
#412BAE #AE822B #57AE2B
monochromatic
#1C134C #2F1F7D #412BAE #5D45D1 #8876DD

Accessibility & contrast

On white

9.63
#412BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#412BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BAE
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BAE#FFFFFF#000000##FFFFFF
##412BAE1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412bae;
/* rgb */ color: rgb(65, 43, 174);
/* oklch */ color: oklch(41.0% 0.194 281.2);
Tailwind
colors: {
  custom: {
    50: '#8367c7',
    500: '#412bae',
    950: '#000000',
  },
}
SCSS
$custom: #412bae;
$custom-light: #8367c7;
$custom-dark: #000000;
JSON
{
  "hex": "#412bae",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 250.076,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.19432,
    "h": 281.2
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#412BAE
secondary
#B7C570
accent
#E444C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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