#412491#412491

#412491 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.167 H 287.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#412491
RGBrgb(65, 36, 145)
HSLhsl(256, 60%, 35%)
HSVhsv(256, 75%, 57%)
CMYKcmyk(55.2%, 75.2%, 0%, 43.1%)
CIE-LABlab(25.04, 41.48, -55.23)
CIE-LCHlch(25.04, 69.07, 306.91°)
OKLaboklab(37.22% 0.0501 -0.1588)
OKLCHoklch(37.22% 0.167 287.5)
XYZxyz(7.9202, 4.4295, 27.2202)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412491 #749124
analogous
#243E91 #412491 #772491
triadic
#412491 #914124 #249141
tetradic
#412491 #91243E #749124 #249177
square
#412491 #91243E #749124 #249177
split-complementary
#412491 #917724 #3E9124
monochromatic
#150C2F #2B1860 #412491 #5730C2 #7B59D6

Accessibility & contrast

On white

11.13
#412491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412491
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412491#FFFFFF#000000##FFFFFF
##4124911.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#204258
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412491;
/* rgb */ color: rgb(65, 36, 145);
/* oklch */ color: oklch(37.2% 0.167 287.5);
Tailwind
colors: {
  custom: {
    50: '#7f62b2',
    500: '#412491',
    950: '#000000',
  },
}
SCSS
$custom: #412491;
$custom-light: #7f62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412491",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 255.963,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37224,
    "c": 0.16656,
    "h": 287.5
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#412491
secondary
#A0BA56
accent
#E344B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412491

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

Preview Lab → · Contrast checker → · Palette generator →

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