#412B83#412B83

#412B83 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.140 H 289.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#412B83
RGBrgb(65, 43, 131)
HSLhsl(255, 51%, 34%)
HSVhsv(255, 67%, 51%)
CMYKcmyk(50.4%, 67.2%, 0%, 48.6%)
CIE-LABlab(25.23, 33.25, -46.20)
CIE-LCHlch(25.23, 56.92, 305.74°)
OKLaboklab(36.97% 0.0461 -0.1324)
OKLCHoklch(36.97% 0.14 289.2)
XYZxyz(7.1394, 4.4900, 21.9588)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B83 #6D832B
analogous
#2B4183 #412B83 #6D2B83
triadic
#412B83 #83412B #2B8341
tetradic
#412B83 #832B41 #6D832B #2B836D
square
#412B83 #832B41 #6D832B #2B836D
split-complementary
#412B83 #836D2B #41832B
monochromatic
#130D27 #2A1C55 #412B83 #583AB1 #795ECA

Accessibility & contrast

On white

11.06
#412B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B83
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B83#FFFFFF#000000##FFFFFF
##412B831.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#2B4053
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412b83;
/* rgb */ color: rgb(65, 43, 131);
/* oklch */ color: oklch(37.0% 0.140 289.2);
Tailwind
colors: {
  custom: {
    50: '#7c66a8',
    500: '#412b83',
    950: '#000000',
  },
}
SCSS
$custom: #412b83;
$custom-light: #7c66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412b83",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 255,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36971,
    "c": 0.14015,
    "h": 289.2
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#412B83
secondary
#9BB05A
accent
#DA4EB7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412B83

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

Preview Lab → · Contrast checker → · Palette generator →

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