#412589#412589

#412589 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.156 H 289.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#412589
RGBrgb(65, 37, 137)
HSLhsl(257, 57%, 34%)
HSVhsv(257, 73%, 54%)
CMYKcmyk(52.6%, 73%, 0%, 46.3%)
CIE-LABlab(24.49, 38.55, -51.16)
CIE-LCHlch(24.49, 64.06, 307.00°)
OKLaboklab(36.6% 0.0511 -0.1469)
OKLCHoklch(36.6% 0.156 289.2)
XYZxyz(7.3556, 4.2528, 24.0954)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412589 #6D8925
analogous
#253B89 #412589 #732589
triadic
#412589 #894125 #258941
tetradic
#412589 #89253B #6D8925 #258973
square
#412589 #89253B #6D8925 #258973
split-complementary
#412589 #897325 #3B8925
monochromatic
#130B29 #2A1859 #412589 #5832B9 #7957D2

Accessibility & contrast

On white

11.35
#412589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412589
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412589#FFFFFF#000000##FFFFFF
##4125891.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412589;
/* rgb */ color: rgb(65, 37, 137);
/* oklch */ color: oklch(36.6% 0.156 289.2);
Tailwind
colors: {
  custom: {
    50: '#7d62ac',
    500: '#412589',
    950: '#000000',
  },
}
SCSS
$custom: #412589;
$custom-light: #7d62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412589",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 256.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36603,
    "c": 0.15556,
    "h": 289.2
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#412589
secondary
#9BB654
accent
#E147B6
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412589

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

Preview Lab → · Contrast checker → · Palette generator →

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