#412D85#412D85

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

Color values

HEX#412D85
RGBrgb(65, 45, 133)
HSLhsl(254, 49%, 35%)
HSVhsv(254, 66%, 52%)
CMYKcmyk(51.1%, 66.2%, 0%, 47.8%)
CIE-LABlab(25.84, 32.67, -46.45)
CIE-LCHlch(25.84, 56.79, 305.11°)
OKLaboklab(37.47% 0.0437 -0.1331)
OKLCHoklch(37.47% 0.14 288.2)
XYZxyz(7.3508, 4.6937, 22.7044)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D85 #71852D
analogous
#2D4585 #412D85 #6D2D85
triadic
#412D85 #85412D #2D8541
tetradic
#412D85 #852D45 #71852D #2D856D
square
#412D85 #852D45 #71852D #2D856D
split-complementary
#412D85 #856D2D #45852D
monochromatic
#140E2A #2B1E57 #412D85 #573CB3 #7A62CA

Accessibility & contrast

On white

10.83
#412D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412D85
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D85#FFFFFF#000000##FFFFFF
##412D851.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#294254
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412d85;
/* rgb */ color: rgb(65, 45, 133);
/* oklch */ color: oklch(37.5% 0.140 288.2);
Tailwind
colors: {
  custom: {
    50: '#7c67a9',
    500: '#412d85',
    950: '#000000',
  },
}
SCSS
$custom: #412d85;
$custom-light: #7c67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412d85",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 253.636,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37468,
    "c": 0.14008,
    "h": 288.2
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#412D85
secondary
#9EB05D
accent
#D94FBA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412D85

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

Preview Lab → · Contrast checker → · Palette generator →

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