#412085#412085

#412085 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.157 H 291.2°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#412085
RGBrgb(65, 32, 133)
HSLhsl(260, 61%, 32%)
HSVhsv(260, 76%, 52%)
CMYKcmyk(51.1%, 75.9%, 0%, 47.8%)
CIE-LABlab(23.17, 40.04, -50.82)
CIE-LCHlch(23.17, 64.70, 308.23°)
OKLaboklab(35.56% 0.0566 -0.1459)
OKLCHoklch(35.56% 0.157 291.2)
XYZxyz(6.9289, 3.8500, 22.5638)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412085 #648520
analogous
#203285 #412085 #742085
triadic
#412085 #854120 #208541
tetradic
#412085 #852032 #648520 #208574
square
#412085 #852032 #648520 #208574
split-complementary
#412085 #857420 #328520
monochromatic
#110822 #291454 #412085 #592CB6 #784CD4

Accessibility & contrast

On white

11.86
#412085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#412085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412085
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412085#FFFFFF#000000##FFFFFF
##4120851.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#2A3B51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412085;
/* rgb */ color: rgb(65, 32, 133);
/* oklch */ color: oklch(35.6% 0.157 291.2);
Tailwind
colors: {
  custom: {
    50: '#7d5fa9',
    500: '#412085',
    950: '#000000',
  },
}
SCSS
$custom: #412085;
$custom-light: #7d5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#412085",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 259.604,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35555,
    "c": 0.1565,
    "h": 291.2
  },
  "luminance": 0.0385
}

Semantic roles & 50–950 ramp

primary
#412085
secondary
#93B74A
accent
#E443B0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412085

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

Preview Lab → · Contrast checker → · Palette generator →

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