#412185#412185

#412185 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.155 H 291.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#412185
RGBrgb(65, 33, 133)
HSLhsl(259, 60%, 33%)
HSVhsv(259, 75%, 52%)
CMYKcmyk(51.1%, 75.2%, 0%, 47.8%)
CIE-LABlab(23.35, 39.52, -50.52)
CIE-LCHlch(23.35, 64.14, 308.03°)
OKLaboklab(35.69% 0.0557 -0.145)
OKLCHoklch(35.69% 0.155 291)
XYZxyz(6.9563, 3.9047, 22.5729)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412185 #658521
analogous
#213385 #412185 #732185
triadic
#412185 #854121 #218541
tetradic
#412185 #852133 #658521 #218573
square
#412185 #852133 #658521 #218573
split-complementary
#412185 #857321 #338521
monochromatic
#110923 #291554 #412185 #592DB6 #784DD3

Accessibility & contrast

On white

11.79
#412185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412185
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412185#FFFFFF#000000##FFFFFF
##4121851.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#2A3C51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412185;
/* rgb */ color: rgb(65, 33, 133);
/* oklch */ color: oklch(35.7% 0.155 291.0);
Tailwind
colors: {
  custom: {
    50: '#7d60a9',
    500: '#412185',
    950: '#000000',
  },
}
SCSS
$custom: #412185;
$custom-light: #7d60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412185",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 259.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35685,
    "c": 0.15535,
    "h": 291
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#412185
secondary
#94B64C
accent
#E344B1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412185

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

Preview Lab → · Contrast checker → · Palette generator →

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