#412A97#412A97

#412A97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.167 H 285.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#412A97
RGBrgb(65, 42, 151)
HSLhsl(253, 56%, 38%)
HSVhsv(253, 72%, 59%)
CMYKcmyk(57%, 72.2%, 0%, 40.8%)
CIE-LABlab(26.77, 40.03, -56.09)
CIE-LCHlch(26.77, 68.91, 305.52°)
OKLaboklab(38.62% 0.0437 -0.1614)
OKLCHoklch(38.62% 0.167 285.2)
XYZxyz(8.5922, 5.0136, 29.7871)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A97 #80972A
analogous
#2A4997 #412A97 #782A97
triadic
#412A97 #97412A #2A9741
tetradic
#412A97 #972A49 #80972A #2A9778
square
#412A97 #972A49 #80972A #2A9778
split-complementary
#412A97 #97782A #49972A
monochromatic
#180F37 #2C1D67 #412A97 #5637C7 #7E67D5

Accessibility & contrast

On white

10.49
#412A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#412A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A97
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A97#FFFFFF#000000##FFFFFF
##412A971.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#18475D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412a97;
/* rgb */ color: rgb(65, 42, 151);
/* oklch */ color: oklch(38.6% 0.167 285.2);
Tailwind
colors: {
  custom: {
    50: '#7f66b7',
    500: '#412a97',
    950: '#000000',
  },
}
SCSS
$custom: #412a97;
$custom-light: #7f66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#412a97",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 252.661,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38623,
    "c": 0.16719,
    "h": 285.2
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#412A97
secondary
#A8BB62
accent
#E048C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412A97

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

Preview Lab → · Contrast checker → · Palette generator →

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