#412E92#412E92

#412E92 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.156 H 285.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#412E92
RGBrgb(65, 46, 146)
HSLhsl(251, 52%, 38%)
HSVhsv(251, 68%, 57%)
CMYKcmyk(55.5%, 68.5%, 0%, 42.7%)
CIE-LABlab(27.17, 36.16, -52.37)
CIE-LCHlch(27.17, 63.64, 304.62°)
OKLaboklab(38.77% 0.041 -0.1505)
OKLCHoklch(38.77% 0.156 285.2)
XYZxyz(8.3437, 5.1527, 27.7435)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E92 #7F922E
analogous
#2E4D92 #412E92 #732E92
triadic
#412E92 #92412E #2E9241
tetradic
#412E92 #922E4D #7F922E #2E9273
square
#412E92 #922E4D #7F922E #2E9273
split-complementary
#412E92 #92732E #4D922E
monochromatic
#181135 #2C1F63 #412E92 #563DC1 #7E6AD0

Accessibility & contrast

On white

10.34
#412E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#412E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E92
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E92#FFFFFF#000000##FFFFFF
##412E921.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#1E475C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412e92;
/* rgb */ color: rgb(65, 46, 146);
/* oklch */ color: oklch(38.8% 0.156 285.2);
Tailwind
colors: {
  custom: {
    50: '#7e68b3',
    500: '#412e92',
    950: '#000000',
  },
}
SCSS
$custom: #412e92;
$custom-light: #7e68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412e92",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 251.4,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38765,
    "c": 0.15596,
    "h": 285.2
  },
  "luminance": 0.05153
}

Semantic roles & 50–950 ramp

primary
#412E92
secondary
#A7B765
accent
#DC4CC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412E92

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

Preview Lab → · Contrast checker → · Palette generator →

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