#412091#412091

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

Color values

HEX#412091
RGBrgb(65, 32, 145)
HSLhsl(258, 64%, 35%)
HSVhsv(258, 78%, 57%)
CMYKcmyk(55.2%, 77.9%, 0%, 43.1%)
CIE-LABlab(24.32, 43.52, -56.41)
CIE-LCHlch(24.32, 71.25, 307.65°)
OKLaboklab(36.72% 0.0534 -0.1623)
OKLCHoklch(36.72% 0.171 288.2)
XYZxyz(7.8058, 4.2008, 27.1821)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412091 #709120
analogous
#203891 #412091 #7A2091
triadic
#412091 #914120 #209141
tetradic
#412091 #912038 #709120 #20917A
square
#412091 #912038 #709120 #20917A
split-complementary
#412091 #917A20 #389120
monochromatic
#140A2D #2B155F #412091 #572BC3 #7A52D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412091#FFFFFF#000000##FFFFFF
##4120911.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)
#003C94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#204057
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412091;
/* rgb */ color: rgb(65, 32, 145);
/* oklch */ color: oklch(36.7% 0.171 288.2);
Tailwind
colors: {
  custom: {
    50: '#7f60b2',
    500: '#412091',
    950: '#000000',
  },
}
SCSS
$custom: #412091;
$custom-light: #7f60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412091",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 257.522,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36718,
    "c": 0.17081,
    "h": 288.2
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#412091
secondary
#9DBC51
accent
#E741B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412091

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

Preview Lab → · Contrast checker → · Palette generator →

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