#412CA5#412CA5

#412CA5 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.182 H 282.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#412CA5
RGBrgb(65, 44, 165)
HSLhsl(250, 58%, 41%)
HSVhsv(250, 73%, 65%)
CMYKcmyk(60.6%, 73.3%, 0%, 35.3%)
CIE-LABlab(28.49, 43.26, -61.80)
CIE-LCHlch(28.49, 75.43, 304.99°)
OKLaboklab(40.24% 0.0391 -0.1781)
OKLCHoklch(40.24% 0.182 282.4)
XYZxyz(9.8701, 5.6411, 36.1588)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CA5 #90A52C
analogous
#2C53A5 #412CA5 #7D2CA5
triadic
#412CA5 #A5412C #2CA541
tetradic
#412CA5 #A52C53 #90A52C #2CA57D
square
#412CA5 #A52C53 #90A52C #2CA57D
split-complementary
#412CA5 #A57D2C #53A52C
monochromatic
#1B1244 #2E1F75 #412CA5 #5A42CD #8472D9

Accessibility & contrast

On white

9.87
#412CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#412CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CA5
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CA5#FFFFFF#000000##FFFFFF
##412CA51.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412ca5;
/* rgb */ color: rgb(65, 44, 165);
/* oklch */ color: oklch(40.2% 0.182 282.4);
Tailwind
colors: {
  custom: {
    50: '#8268c1',
    500: '#412ca5',
    950: '#000000',
  },
}
SCSS
$custom: #412ca5;
$custom-light: #8268c1;
$custom-dark: #000000;
JSON
{
  "hex": "#412ca5",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 250.413,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.18236,
    "h": 282.4
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#412CA5
secondary
#B2C16C
accent
#E147C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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