#412A92#412A92

#412A92 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.161 H 286.1°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#412A92
RGBrgb(65, 42, 146)
HSLhsl(253, 55%, 37%)
HSVhsv(253, 71%, 57%)
CMYKcmyk(55.5%, 71.2%, 0%, 42.7%)
CIE-LABlab(26.32, 38.49, -53.76)
CIE-LCHlch(26.32, 66.12, 305.60°)
OKLaboklab(38.16% 0.0447 -0.1546)
OKLCHoklch(38.16% 0.161 286.1)
XYZxyz(8.1947, 4.8546, 27.6938)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A92 #7B922A
analogous
#2A4792 #412A92 #752A92
triadic
#412A92 #92412A #2A9241
tetradic
#412A92 #922A47 #7B922A #2A9275
square
#412A92 #922A47 #7B922A #2A9275
split-complementary
#412A92 #92752A #47922A
monochromatic
#170F33 #2C1C62 #412A92 #5638C2 #7C64D2

Accessibility & contrast

On white

10.65
#412A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#412A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A92
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A92#FFFFFF#000000##FFFFFF
##412A921.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#1E455B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412a92;
/* rgb */ color: rgb(65, 42, 146);
/* oklch */ color: oklch(38.2% 0.161 286.1);
Tailwind
colors: {
  custom: {
    50: '#7e66b3',
    500: '#412a92',
    950: '#000000',
  },
}
SCSS
$custom: #412a92;
$custom-light: #7e66b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412a92",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 253.269,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.16089,
    "h": 286.1
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#412A92
secondary
#A5B85F
accent
#DF49BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412A92

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

Preview Lab → · Contrast checker → · Palette generator →

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