#412E90#412E90

#412E90 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.153 H 285.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#412E90
RGBrgb(65, 46, 144)
HSLhsl(252, 52%, 37%)
HSVhsv(252, 68%, 56%)
CMYKcmyk(54.9%, 68.1%, 0%, 43.5%)
CIE-LABlab(26.99, 35.53, -51.42)
CIE-LCHlch(26.99, 62.50, 304.64°)
OKLaboklab(38.59% 0.0412 -0.1477)
OKLCHoklch(38.59% 0.153 285.6)
XYZxyz(8.1895, 5.0910, 26.9313)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E90 #7D902E
analogous
#2E4C90 #412E90 #722E90
triadic
#412E90 #90412E #2E9041
tetradic
#412E90 #902E4C #7D902E #2E9072
square
#412E90 #902E4C #7D902E #2E9072
split-complementary
#412E90 #90722E #4C902E
monochromatic
#171033 #2C1F62 #412E90 #563DBE #7D69CF

Accessibility & contrast

On white

10.41
#412E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#412E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E90
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E90#FFFFFF#000000##FFFFFF
##412E901.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#20475B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412e90;
/* rgb */ color: rgb(65, 46, 144);
/* oklch */ color: oklch(38.6% 0.153 285.6);
Tailwind
colors: {
  custom: {
    50: '#7e68b1',
    500: '#412e90',
    950: '#000000',
  },
}
SCSS
$custom: #412e90;
$custom-light: #7e68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#412e90",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 251.633,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38587,
    "c": 0.15335,
    "h": 285.6
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#412E90
secondary
#A6B664
accent
#DB4DBF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412E90

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

Preview Lab → · Contrast checker → · Palette generator →

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