#412A85#412A85

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

Color values

HEX#412A85
RGBrgb(65, 42, 133)
HSLhsl(255, 52%, 34%)
HSVhsv(255, 68%, 52%)
CMYKcmyk(51.1%, 68.4%, 0%, 47.8%)
CIE-LABlab(25.18, 34.47, -47.54)
CIE-LCHlch(25.18, 58.72, 305.94°)
OKLaboklab(36.99% 0.0469 -0.1363)
OKLCHoklch(36.99% 0.144 289)
XYZxyz(7.2404, 4.4729, 22.6676)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A85 #6E852A
analogous
#2A4185 #412A85 #6F2A85
triadic
#412A85 #85412A #2A8541
tetradic
#412A85 #852A41 #6E852A #2A856F
square
#412A85 #852A41 #6E852A #2A856F
split-complementary
#412A85 #856F2A #41852A
monochromatic
#140D28 #2A1B56 #412A85 #5839B4 #795DCC

Accessibility & contrast

On white

11.08
#412A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A85
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A85#FFFFFF#000000##FFFFFF
##412A851.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#294053
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412a85;
/* rgb */ color: rgb(65, 42, 133);
/* oklch */ color: oklch(37.0% 0.144 289.0);
Tailwind
colors: {
  custom: {
    50: '#7c65a9',
    500: '#412a85',
    950: '#000000',
  },
}
SCSS
$custom: #412a85;
$custom-light: #7c65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412a85",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 255.165,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36986,
    "c": 0.14413,
    "h": 289
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#412A85
secondary
#9BB259
accent
#DB4CB7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412A85

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

Preview Lab → · Contrast checker → · Palette generator →

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