#412386#412386

#412386 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.154 H 290.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#412386
RGBrgb(65, 35, 134)
HSLhsl(258, 59%, 33%)
HSVhsv(258, 74%, 53%)
CMYKcmyk(51.5%, 73.9%, 0%, 47.5%)
CIE-LABlab(23.83, 38.74, -50.37)
CIE-LCHlch(23.83, 63.55, 307.57°)
OKLaboklab(36.05% 0.0536 -0.1446)
OKLCHoklch(36.05% 0.154 290.4)
XYZxyz(7.0828, 4.0468, 22.9575)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412386 #688623
analogous
#233686 #412386 #722386
triadic
#412386 #864123 #238641
tetradic
#412386 #862336 #688623 #238672
square
#412386 #862336 #688623 #238672
split-complementary
#412386 #867223 #368623
monochromatic
#120A25 #291655 #412386 #5930B7 #7852D2

Accessibility & contrast

On white

11.61
#412386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#412386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412386
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412386#FFFFFF#000000##FFFFFF
##4123861.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412386;
/* rgb */ color: rgb(65, 35, 134);
/* oklch */ color: oklch(36.0% 0.154 290.4);
Tailwind
colors: {
  custom: {
    50: '#7d61aa',
    500: '#412386',
    950: '#000000',
  },
}
SCSS
$custom: #412386;
$custom-light: #7d61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#412386",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 258.182,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36047,
    "c": 0.15423,
    "h": 290.4
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#412386
secondary
#97B54F
accent
#E246B3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412386

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

Preview Lab → · Contrast checker → · Palette generator →

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