#412585#412585

#412585 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.151 H 290.2°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#412585
RGBrgb(65, 37, 133)
HSLhsl(258, 56%, 33%)
HSVhsv(258, 72%, 52%)
CMYKcmyk(51.1%, 72.2%, 0%, 47.8%)
CIE-LABlab(24.13, 37.35, -49.25)
CIE-LCHlch(24.13, 61.81, 307.17°)
OKLaboklab(36.24% 0.0519 -0.1413)
OKLCHoklch(36.24% 0.151 290.2)
XYZxyz(7.0740, 4.1401, 22.6121)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412585 #698525
analogous
#253985 #412585 #712585
triadic
#412585 #854125 #258541
tetradic
#412585 #852539 #698525 #258571
square
#412585 #852539 #698525 #258571
split-complementary
#412585 #857125 #398525
monochromatic
#120A25 #2A1855 #412585 #5832B5 #7955D0

Accessibility & contrast

On white

11.49
#412585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412585
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412585#FFFFFF#000000##FFFFFF
##4125851.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#2A3E52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412585;
/* rgb */ color: rgb(65, 37, 133);
/* oklch */ color: oklch(36.2% 0.151 290.2);
Tailwind
colors: {
  custom: {
    50: '#7d62a9',
    500: '#412585',
    950: '#000000',
  },
}
SCSS
$custom: #412585;
$custom-light: #7d62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412585",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 257.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36235,
    "c": 0.15055,
    "h": 290.2
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#412585
secondary
#97B452
accent
#E048B4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412585

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

Preview Lab → · Contrast checker → · Palette generator →

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