#412689#412689

#412689 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.154 H 289.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#412689
RGBrgb(65, 38, 137)
HSLhsl(256, 57%, 34%)
HSVhsv(256, 72%, 54%)
CMYKcmyk(52.6%, 72.3%, 0%, 46.3%)
CIE-LABlab(24.69, 37.99, -50.84)
CIE-LCHlch(24.69, 63.46, 306.77°)
OKLaboklab(36.74% 0.0502 -0.146)
OKLCHoklch(36.74% 0.154 289)
XYZxyz(7.3871, 4.3159, 24.1059)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412689 #6E8926
analogous
#263D89 #412689 #732689
triadic
#412689 #894126 #268941
tetradic
#412689 #89263D #6E8926 #268973
square
#412689 #89263D #6E8926 #268973
split-complementary
#412689 #897326 #3D8926
monochromatic
#140B29 #2A1959 #412689 #5833B9 #7959D1

Accessibility & contrast

On white

11.27
#412689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412689
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412689#FFFFFF#000000##FFFFFF
##4126891.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#274054
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412689;
/* rgb */ color: rgb(65, 38, 137);
/* oklch */ color: oklch(36.7% 0.154 289.0);
Tailwind
colors: {
  custom: {
    50: '#7d63ac',
    500: '#412689',
    950: '#000000',
  },
}
SCSS
$custom: #412689;
$custom-light: #7d63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412689",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 256.364,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36745,
    "c": 0.15435,
    "h": 289
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#412689
secondary
#9BB655
accent
#E048B6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412689

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

Preview Lab → · Contrast checker → · Palette generator →

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