#412686#412686

#412686 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.151 H 289.7°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#412686
RGBrgb(65, 38, 134)
HSLhsl(257, 56%, 34%)
HSVhsv(257, 72%, 53%)
CMYKcmyk(51.5%, 71.6%, 0%, 47.5%)
CIE-LABlab(24.42, 37.09, -49.40)
CIE-LCHlch(24.42, 61.77, 306.90°)
OKLaboklab(36.47% 0.0508 -0.1418)
OKLCHoklch(36.47% 0.151 289.7)
XYZxyz(7.1749, 4.2310, 22.9882)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412686 #6B8626
analogous
#263B86 #412686 #712686
triadic
#412686 #864126 #268641
tetradic
#412686 #86263B #6B8626 #268671
square
#412686 #86263B #6B8626 #268671
split-complementary
#412686 #867126 #3B8626
monochromatic
#130B27 #2A1856 #412686 #5834B6 #7957CF

Accessibility & contrast

On white

11.37
#412686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412686
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412686#FFFFFF#000000##FFFFFF
##4126861.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#293F53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412686;
/* rgb */ color: rgb(65, 38, 134);
/* oklch */ color: oklch(36.5% 0.151 289.7);
Tailwind
colors: {
  custom: {
    50: '#7d63aa',
    500: '#412686',
    950: '#000000',
  },
}
SCSS
$custom: #412686;
$custom-light: #7d63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412686",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 256.875,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36471,
    "c": 0.15058,
    "h": 289.7
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#412686
secondary
#99B454
accent
#DF49B5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412686

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

Preview Lab → · Contrast checker → · Palette generator →

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