#412DA3#412DA3

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

Color values

HEX#412DA3
RGBrgb(65, 45, 163)
HSLhsl(250, 57%, 41%)
HSVhsv(250, 72%, 64%)
CMYKcmyk(60.1%, 72.4%, 0%, 36.1%)
CIE-LABlab(28.50, 42.08, -60.57)
CIE-LCHlch(28.50, 73.75, 304.79°)
OKLaboklab(40.19% 0.0388 -0.1745)
OKLCHoklch(40.19% 0.179 282.5)
XYZxyz(9.7272, 5.6443, 35.2201)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DA3 #8FA32D
analogous
#2D54A3 #412DA3 #7C2DA3
triadic
#412DA3 #A3412D #2DA341
tetradic
#412DA3 #A32D54 #8FA32D #2DA37C
square
#412DA3 #A32D54 #8FA32D #2DA37C
split-complementary
#412DA3 #A37C2D #54A32D
monochromatic
#1B1343 #2E2073 #412DA3 #5942CB #8472D8

Accessibility & contrast

On white

9.86
#412DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412DA3
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DA3#FFFFFF#000000##FFFFFF
##412DA31.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412da3;
/* rgb */ color: rgb(65, 45, 163);
/* oklch */ color: oklch(40.2% 0.179 282.5);
Tailwind
colors: {
  custom: {
    50: '#8168bf',
    500: '#412da3',
    950: '#000000',
  },
}
SCSS
$custom: #412da3;
$custom-light: #8168bf;
$custom-dark: #000000;
JSON
{
  "hex": "#412da3",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 250.169,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.17879,
    "h": 282.5
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#412DA3
secondary
#B1C06C
accent
#E048C6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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