#412685#412685

#412685 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.149 H 290.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#412685
RGBrgb(65, 38, 133)
HSLhsl(257, 56%, 34%)
HSVhsv(257, 71%, 52%)
CMYKcmyk(51.1%, 71.4%, 0%, 47.8%)
CIE-LABlab(24.33, 36.79, -48.92)
CIE-LCHlch(24.33, 61.21, 306.94°)
OKLaboklab(36.38% 0.051 -0.1403)
OKLCHoklch(36.38% 0.149 290)
XYZxyz(7.1055, 4.2032, 22.6227)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412685 #6A8526
analogous
#263A85 #412685 #702685
triadic
#412685 #854126 #268541
tetradic
#412685 #85263A #6A8526 #268570
square
#412685 #85263A #6A8526 #268570
split-complementary
#412685 #857026 #3A8526
monochromatic
#120B26 #2A1855 #412685 #5834B5 #7957CF

Accessibility & contrast

On white

11.41
#412685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#412685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412685
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412685#FFFFFF#000000##FFFFFF
##4126851.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412685;
/* rgb */ color: rgb(65, 38, 133);
/* oklch */ color: oklch(36.4% 0.149 290.0);
Tailwind
colors: {
  custom: {
    50: '#7d63a9',
    500: '#412685',
    950: '#000000',
  },
}
SCSS
$custom: #412685;
$custom-light: #7d63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412685",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 257.053,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3638,
    "c": 0.14931,
    "h": 290
  },
  "luminance": 0.04203
}

Semantic roles & 50–950 ramp

primary
#412685
secondary
#98B353
accent
#DF49B4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412685

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

Preview Lab → · Contrast checker → · Palette generator →

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