#412286#412286

#412286 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.155 H 290.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#412286
RGBrgb(65, 34, 134)
HSLhsl(259, 60%, 33%)
HSVhsv(259, 75%, 53%)
CMYKcmyk(51.5%, 74.6%, 0%, 47.5%)
CIE-LABlab(23.63, 39.28, -50.69)
CIE-LCHlch(23.63, 64.13, 307.78°)
OKLaboklab(35.91% 0.0546 -0.1455)
OKLCHoklch(35.91% 0.155 290.6)
XYZxyz(7.0538, 3.9888, 22.9479)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412286 #678622
analogous
#223586 #412286 #732286
triadic
#412286 #864122 #228641
tetradic
#412286 #862235 #678622 #228673
square
#412286 #862235 #678622 #228673
split-complementary
#412286 #867322 #358622
monochromatic
#120924 #291655 #412286 #592EB7 #7850D3

Accessibility & contrast

On white

11.68
#412286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#412286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412286
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412286#FFFFFF#000000##FFFFFF
##4122861.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#293D52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412286;
/* rgb */ color: rgb(65, 34, 134);
/* oklch */ color: oklch(35.9% 0.155 290.6);
Tailwind
colors: {
  custom: {
    50: '#7d60aa',
    500: '#412286',
    950: '#000000',
  },
}
SCSS
$custom: #412286;
$custom-light: #7d60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412286",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 258.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35912,
    "c": 0.15541,
    "h": 290.6
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#412286
secondary
#96B64E
accent
#E345B2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412286

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

Preview Lab → · Contrast checker → · Palette generator →

#412286 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva