#412A83#412A83

#412A83 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.141 H 289.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#412A83
RGBrgb(65, 42, 131)
HSLhsl(256, 51%, 34%)
HSVhsv(256, 68%, 51%)
CMYKcmyk(50.4%, 67.9%, 0%, 48.6%)
CIE-LABlab(25.01, 33.85, -46.56)
CIE-LCHlch(25.01, 57.57, 306.02°)
OKLaboklab(36.81% 0.0471 -0.1334)
OKLCHoklch(36.81% 0.142 289.5)
XYZxyz(7.1035, 4.4181, 21.9468)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A83 #6C832A
analogous
#2A4083 #412A83 #6E2A83
triadic
#412A83 #83412A #2A8341
tetradic
#412A83 #832A40 #6C832A #2A836E
square
#412A83 #832A40 #6C832A #2A836E
split-complementary
#412A83 #836E2A #40832A
monochromatic
#130C26 #2A1B55 #412A83 #5839B1 #795DCB

Accessibility & contrast

On white

11.15
#412A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A83
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A83#FFFFFF#000000##FFFFFF
##412A831.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#2B4052
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412a83;
/* rgb */ color: rgb(65, 42, 131);
/* oklch */ color: oklch(36.8% 0.141 289.5);
Tailwind
colors: {
  custom: {
    50: '#7c65a8',
    500: '#412a83',
    950: '#000000',
  },
}
SCSS
$custom: #412a83;
$custom-light: #7c65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412a83",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 255.506,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36812,
    "c": 0.1415,
    "h": 289.5
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#412A83
secondary
#9AB158
accent
#DB4DB6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412A83

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

Preview Lab → · Contrast checker → · Palette generator →

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