#412E83#412E83

#412E83 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.136 H 288.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#412E83
RGBrgb(65, 46, 131)
HSLhsl(253, 48%, 35%)
HSVhsv(253, 65%, 51%)
CMYKcmyk(50.4%, 64.9%, 0%, 48.6%)
CIE-LABlab(25.91, 31.43, -45.09)
CIE-LCHlch(25.91, 54.96, 304.87°)
OKLaboklab(37.46% 0.0427 -0.1291)
OKLCHoklch(37.46% 0.136 288.3)
XYZxyz(7.2525, 4.7162, 21.9965)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E83 #70832E
analogous
#2E4583 #412E83 #6C2E83
triadic
#412E83 #83412E #2E8341
tetradic
#412E83 #832E45 #70832E #2E836C
square
#412E83 #832E45 #70832E #2E836C
split-complementary
#412E83 #836C2E #45832E
monochromatic
#140E28 #2B1E56 #412E83 #573EB0 #7A63C8

Accessibility & contrast

On white

10.81
#412E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#412E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E83
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E83#FFFFFF#000000##FFFFFF
##412E831.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#2B4254
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412e83;
/* rgb */ color: rgb(65, 46, 131);
/* oklch */ color: oklch(37.5% 0.136 288.3);
Tailwind
colors: {
  custom: {
    50: '#7c68a8',
    500: '#412e83',
    950: '#000000',
  },
}
SCSS
$custom: #412e83;
$custom-light: #7c68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412e83",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 253.412,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37465,
    "c": 0.136,
    "h": 288.3
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#412E83
secondary
#9DAF5E
accent
#D850B9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412E83

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

Preview Lab → · Contrast checker → · Palette generator →

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