#412089#412089

#412089 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.161 H 290.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#412089
RGBrgb(65, 32, 137)
HSLhsl(259, 62%, 33%)
HSVhsv(259, 77%, 54%)
CMYKcmyk(52.6%, 76.6%, 0%, 46.3%)
CIE-LABlab(23.55, 41.20, -52.71)
CIE-LCHlch(23.55, 66.90, 308.01°)
OKLaboklab(35.94% 0.0556 -0.1514)
OKLCHoklch(35.94% 0.161 290.2)
XYZxyz(7.2105, 3.9627, 24.0470)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412089 #688920
analogous
#203389 #412089 #752089
triadic
#412089 #894120 #208941
tetradic
#412089 #892033 #688920 #208975
square
#412089 #892033 #688920 #208975
split-complementary
#412089 #897520 #338920
monochromatic
#120926 #291457 #412089 #592CBB #784ED6

Accessibility & contrast

On white

11.71
#412089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412089
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412089#FFFFFF#000000##FFFFFF
##4120891.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#273D53
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412089;
/* rgb */ color: rgb(65, 32, 137);
/* oklch */ color: oklch(35.9% 0.161 290.2);
Tailwind
colors: {
  custom: {
    50: '#7e5fac',
    500: '#412089',
    950: '#000000',
  },
}
SCSS
$custom: #412089;
$custom-light: #7e5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#412089",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 258.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35937,
    "c": 0.1613,
    "h": 290.2
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#412089
secondary
#97B94C
accent
#E543B2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #412089

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

Preview Lab → · Contrast checker → · Palette generator →

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