#412189#412189

#412189 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.160 H 290.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#412189
RGBrgb(65, 33, 137)
HSLhsl(258, 61%, 33%)
HSVhsv(258, 76%, 54%)
CMYKcmyk(52.6%, 75.9%, 0%, 46.3%)
CIE-LABlab(23.73, 40.69, -52.41)
CIE-LCHlch(23.73, 66.35, 307.82°)
OKLaboklab(36.06% 0.0547 -0.1506)
OKLCHoklch(36.06% 0.16 290)
XYZxyz(7.2379, 4.0174, 24.0561)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412189 #698921
analogous
#213589 #412189 #752189
triadic
#412189 #894121 #218941
tetradic
#412189 #892135 #698921 #218975
square
#412189 #892135 #698921 #218975
split-complementary
#412189 #897521 #358921
monochromatic
#120926 #2A1558 #412189 #582DBA #7950D5

Accessibility & contrast

On white

11.64
#412189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#412189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412189
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412189#FFFFFF#000000##FFFFFF
##4121891.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.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: #412189;
/* rgb */ color: rgb(65, 33, 137);
/* oklch */ color: oklch(36.1% 0.160 290.0);
Tailwind
colors: {
  custom: {
    50: '#7e60ac',
    500: '#412189',
    950: '#000000',
  },
}
SCSS
$custom: #412189;
$custom-light: #7e60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412189",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 258.462,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36064,
    "c": 0.1602,
    "h": 290
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#412189
secondary
#97B84E
accent
#E444B3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #412189

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

Preview Lab → · Contrast checker → · Palette generator →

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