#412CA6#412CA6

#412CA6 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.184 H 282.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#412CA6
RGBrgb(65, 44, 166)
HSLhsl(250, 58%, 41%)
HSVhsv(250, 73%, 65%)
CMYKcmyk(60.8%, 73.5%, 0%, 34.9%)
CIE-LABlab(28.58, 43.56, -62.24)
CIE-LCHlch(28.58, 75.97, 304.99°)
OKLaboklab(40.34% 0.0389 -0.1794)
OKLCHoklch(40.34% 0.184 282.2)
XYZxyz(9.9614, 5.6777, 36.6400)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CA6 #91A62C
analogous
#2C54A6 #412CA6 #7E2CA6
triadic
#412CA6 #A6412C #2CA641
tetradic
#412CA6 #A62C54 #91A62C #2CA67E
square
#412CA6 #A62C54 #91A62C #2CA67E
split-complementary
#412CA6 #A67E2C #54A62C
monochromatic
#1B1245 #2E1F76 #412CA6 #5A42CD #8473DA

Accessibility & contrast

On white

9.83
#412CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#412CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CA6
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CA6#FFFFFF#000000##FFFFFF
##412CA61.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412ca6;
/* rgb */ color: rgb(65, 44, 166);
/* oklch */ color: oklch(40.3% 0.184 282.2);
Tailwind
colors: {
  custom: {
    50: '#8268c2',
    500: '#412ca6',
    950: '#000000',
  },
}
SCSS
$custom: #412ca6;
$custom-light: #8268c2;
$custom-dark: #000000;
JSON
{
  "hex": "#412ca6",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 250.328,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4034,
    "c": 0.18358,
    "h": 282.2
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#412CA6
secondary
#B3C16D
accent
#E146C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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