#412BA5#412BA5

#412BA5 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.183 H 282.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#412BA5
RGBrgb(65, 43, 165)
HSLhsl(251, 59%, 41%)
HSVhsv(251, 74%, 65%)
CMYKcmyk(60.6%, 73.9%, 0%, 35.3%)
CIE-LABlab(28.29, 43.80, -62.11)
CIE-LCHlch(28.29, 76.01, 305.19°)
OKLaboklab(40.11% 0.0399 -0.179)
OKLCHoklch(40.11% 0.183 282.6)
XYZxyz(9.8333, 5.5675, 36.1465)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BA5 #8FA52B
analogous
#2B52A5 #412BA5 #7E2BA5
triadic
#412BA5 #A5412B #2BA541
tetradic
#412BA5 #A52B52 #8FA52B #2BA57E
square
#412BA5 #A52B52 #8FA52B #2BA57E
split-complementary
#412BA5 #A57E2B #52A52B
monochromatic
#1B1244 #2E1E74 #412BA5 #5940CD #8471DA

Accessibility & contrast

On white

9.94
#412BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#412BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BA5
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BA5#FFFFFF#000000##FFFFFF
##412BA51.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412ba5;
/* rgb */ color: rgb(65, 43, 165);
/* oklch */ color: oklch(40.1% 0.183 282.6);
Tailwind
colors: {
  custom: {
    50: '#8267c1',
    500: '#412ba5',
    950: '#000000',
  },
}
SCSS
$custom: #412ba5;
$custom-light: #8267c1;
$custom-dark: #000000;
JSON
{
  "hex": "#412ba5",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 250.82,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40105,
    "c": 0.18343,
    "h": 282.6
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#412BA5
secondary
#B1C16B
accent
#E246C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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