#412BAC#412BAC

#412BAC is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.192 H 281.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#412BAC
RGBrgb(65, 43, 172)
HSLhsl(250, 60%, 42%)
HSVhsv(250, 75%, 67%)
CMYKcmyk(62.2%, 75%, 0%, 32.5%)
CIE-LABlab(28.98, 45.95, -65.21)
CIE-LCHlch(28.98, 79.77, 305.17°)
OKLaboklab(40.79% 0.0382 -0.1881)
OKLCHoklch(40.79% 0.192 281.5)
XYZxyz(10.4879, 5.8294, 39.5942)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BAC #96AC2B
analogous
#2B55AC #412BAC #822BAC
triadic
#412BAC #AC412B #2BAC41
tetradic
#412BAC #AC2B55 #96AC2B #2BAC82
square
#412BAC #AC2B55 #96AC2B #2BAC82
split-complementary
#412BAC #AC822B #55AC2B
monochromatic
#1C134A #2E1F7B #412BAC #5C44D0 #8775DC

Accessibility & contrast

On white

9.70
#412BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#412BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BAC
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BAC#FFFFFF#000000##FFFFFF
##412BAC1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412bac;
/* rgb */ color: rgb(65, 43, 172);
/* oklch */ color: oklch(40.8% 0.192 281.5);
Tailwind
colors: {
  custom: {
    50: '#8367c6',
    500: '#412bac',
    950: '#000000',
  },
}
SCSS
$custom: #412bac;
$custom-light: #8367c6;
$custom-dark: #000000;
JSON
{
  "hex": "#412bac",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 250.233,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.19192,
    "h": 281.5
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#412BAC
secondary
#B6C46F
accent
#E345C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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