#412785#412785

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

Color values

HEX#412785
RGBrgb(65, 39, 133)
HSLhsl(257, 55%, 34%)
HSVhsv(257, 71%, 52%)
CMYKcmyk(51.1%, 70.7%, 0%, 47.8%)
CIE-LABlab(24.54, 36.22, -48.58)
CIE-LCHlch(24.54, 60.60, 306.70°)
OKLaboklab(36.53% 0.05 -0.1393)
OKLCHoklch(36.53% 0.148 289.7)
XYZxyz(7.1379, 4.2680, 22.6335)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412785 #6B8527
analogous
#273C85 #412785 #702785
triadic
#412785 #854127 #278541
tetradic
#412785 #85273C #6B8527 #278570
square
#412785 #85273C #6B8527 #278570
split-complementary
#412785 #857027 #3C8527
monochromatic
#130B26 #2A1956 #412785 #5835B4 #7958CE

Accessibility & contrast

On white

11.33
#412785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412785
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412785#FFFFFF#000000##FFFFFF
##4127851.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#2A3F53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412785;
/* rgb */ color: rgb(65, 39, 133);
/* oklch */ color: oklch(36.5% 0.148 289.7);
Tailwind
colors: {
  custom: {
    50: '#7d63a9',
    500: '#412785',
    950: '#000000',
  },
}
SCSS
$custom: #412785;
$custom-light: #7d63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412785",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 256.596,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36527,
    "c": 0.14803,
    "h": 289.7
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#412785
secondary
#99B355
accent
#DE4AB5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412785

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

Preview Lab → · Contrast checker → · Palette generator →

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