#412087#412087

#412087 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.159 H 290.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#412087
RGBrgb(65, 32, 135)
HSLhsl(259, 62%, 33%)
HSVhsv(259, 76%, 53%)
CMYKcmyk(51.9%, 76.3%, 0%, 47.1%)
CIE-LABlab(23.36, 40.62, -51.77)
CIE-LCHlch(23.36, 65.80, 308.12°)
OKLaboklab(35.74% 0.0561 -0.1487)
OKLCHoklch(35.74% 0.159 290.7)
XYZxyz(7.0684, 3.9058, 23.2984)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412087 #668720
analogous
#203387 #412087 #742087
triadic
#412087 #874120 #208741
tetradic
#412087 #872033 #668720 #208774
square
#412087 #872033 #668720 #208774
split-complementary
#412087 #877420 #338720
monochromatic
#110924 #291456 #412087 #592CB8 #784DD5

Accessibility & contrast

On white

11.79
#412087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#412087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412087
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412087#FFFFFF#000000##FFFFFF
##4120871.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#293C52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412087;
/* rgb */ color: rgb(65, 32, 135);
/* oklch */ color: oklch(35.7% 0.159 290.7);
Tailwind
colors: {
  custom: {
    50: '#7d5fab',
    500: '#412087',
    950: '#000000',
  },
}
SCSS
$custom: #412087;
$custom-light: #7d5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#412087",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 259.223,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35745,
    "c": 0.1589,
    "h": 290.7
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#412087
secondary
#95B84B
accent
#E543B1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #412087

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

Preview Lab → · Contrast checker → · Palette generator →

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