#412184#412184

#412184 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.154 H 291.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#412184
RGBrgb(65, 33, 132)
HSLhsl(259, 60%, 32%)
HSVhsv(259, 75%, 52%)
CMYKcmyk(50.8%, 75%, 0%, 48.2%)
CIE-LABlab(23.26, 39.22, -50.04)
CIE-LCHlch(23.26, 63.58, 308.09°)
OKLaboklab(35.59% 0.056 -0.1436)
OKLCHoklch(35.59% 0.154 291.3)
XYZxyz(6.8875, 3.8772, 22.2108)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412184 #648421
analogous
#213284 #412184 #732184
triadic
#412184 #844121 #218441
tetradic
#412184 #842132 #648421 #218473
square
#412184 #842132 #648421 #218473
split-complementary
#412184 #847321 #328421
monochromatic
#110922 #291553 #412184 #592DB5 #784DD2

Accessibility & contrast

On white

11.83
#412184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#412184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412184
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412184#FFFFFF#000000##FFFFFF
##4121841.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#2B3B50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412184;
/* rgb */ color: rgb(65, 33, 132);
/* oklch */ color: oklch(35.6% 0.154 291.3);
Tailwind
colors: {
  custom: {
    50: '#7d60a9',
    500: '#412184',
    950: '#000000',
  },
}
SCSS
$custom: #412184;
$custom-light: #7d60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412184",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 259.394,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35591,
    "c": 0.15413,
    "h": 291.3
  },
  "luminance": 0.03877
}

Semantic roles & 50–950 ramp

primary
#412184
secondary
#93B64B
accent
#E345B0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412184

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

Preview Lab → · Contrast checker → · Palette generator →

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