#412489#412489

#412489 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.157 H 289.4°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#412489
RGBrgb(65, 36, 137)
HSLhsl(257, 58%, 34%)
HSVhsv(257, 74%, 54%)
CMYKcmyk(52.6%, 73.7%, 0%, 46.3%)
CIE-LABlab(24.29, 39.09, -51.48)
CIE-LCHlch(24.29, 64.64, 307.21°)
OKLaboklab(36.46% 0.052 -0.1479)
OKLCHoklch(36.46% 0.157 289.4)
XYZxyz(7.3249, 4.1914, 24.0851)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412489 #6C8924
analogous
#243A89 #412489 #742489
triadic
#412489 #894124 #248941
tetradic
#412489 #89243A #6C8924 #248974
square
#412489 #89243A #6C8924 #248974
split-complementary
#412489 #897424 #3A8924
monochromatic
#130B28 #2A1759 #412489 #5831B9 #7955D2

Accessibility & contrast

On white

11.42
#412489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#412489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412489
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412489#FFFFFF#000000##FFFFFF
##4124891.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#273F54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412489;
/* rgb */ color: rgb(65, 36, 137);
/* oklch */ color: oklch(36.5% 0.157 289.4);
Tailwind
colors: {
  custom: {
    50: '#7d62ac',
    500: '#412489',
    950: '#000000',
  },
}
SCSS
$custom: #412489;
$custom-light: #7d62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412489",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 257.228,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36464,
    "c": 0.15675,
    "h": 289.4
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#412489
secondary
#9AB752
accent
#E246B5
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #412489

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

Preview Lab → · Contrast checker → · Palette generator →

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