#412191#412191

#412191 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.170 H 288.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#412191
RGBrgb(65, 33, 145)
HSLhsl(257, 63%, 35%)
HSVhsv(257, 77%, 57%)
CMYKcmyk(55.2%, 77.2%, 0%, 43.1%)
CIE-LABlab(24.50, 43.03, -56.12)
CIE-LCHlch(24.50, 70.72, 307.48°)
OKLaboklab(36.84% 0.0526 -0.1614)
OKLCHoklch(36.84% 0.17 288)
XYZxyz(7.8332, 4.2555, 27.1912)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412191 #719121
analogous
#213991 #412191 #792191
triadic
#412191 #914121 #219141
tetradic
#412191 #912139 #719121 #219179
square
#412191 #912139 #719121 #219179
split-complementary
#412191 #917921 #399121
monochromatic
#140A2D #2B165F #412191 #572CC3 #7A54D8

Accessibility & contrast

On white

11.34
#412191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412191
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412191#FFFFFF#000000##FFFFFF
##4121911.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#204058
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412191;
/* rgb */ color: rgb(65, 33, 145);
/* oklch */ color: oklch(36.8% 0.170 288.0);
Tailwind
colors: {
  custom: {
    50: '#7f60b2',
    500: '#412191',
    950: '#000000',
  },
}
SCSS
$custom: #412191;
$custom-light: #7f60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412191",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 257.143,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3684,
    "c": 0.16977,
    "h": 288
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#412191
secondary
#9EBC52
accent
#E642B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412191

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

Preview Lab → · Contrast checker → · Palette generator →

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