#412E9D#412E9D

#412E9D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.170 H 283.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#412E9D
RGBrgb(65, 46, 157)
HSLhsl(250, 55%, 40%)
HSVhsv(250, 71%, 62%)
CMYKcmyk(58.6%, 70.7%, 0%, 38.4%)
CIE-LABlab(28.14, 39.63, -57.51)
CIE-LCHlch(28.14, 69.84, 304.57°)
OKLaboklab(39.77% 0.0391 -0.1656)
OKLCHoklch(39.77% 0.17 283.3)
XYZxyz(9.2409, 5.5115, 32.4686)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E9D #8A9D2E
analogous
#2E539D #412E9D #782E9D
triadic
#412E9D #9D412E #2E9D41
tetradic
#412E9D #9D2E53 #8A9D2E #2E9D78
square
#412E9D #9D2E53 #8A9D2E #2E9D78
split-complementary
#412E9D #9D782E #539D2E
monochromatic
#1A123E #2D206E #412E9D #5841C7 #8270D5

Accessibility & contrast

On white

9.99
#412E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#412E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E9D
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E9D#FFFFFF#000000##FFFFFF
##412E9D1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#0D4B62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412e9d;
/* rgb */ color: rgb(65, 46, 157);
/* oklch */ color: oklch(39.8% 0.170 283.3);
Tailwind
colors: {
  custom: {
    50: '#8068bb',
    500: '#412e9d',
    950: '#000000',
  },
}
SCSS
$custom: #412e9d;
$custom-light: #8068bb;
$custom-dark: #000000;
JSON
{
  "hex": "#412e9d",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 250.27,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3977,
    "c": 0.17012,
    "h": 283.3
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#412E9D
secondary
#AEBD6A
accent
#DE4AC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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