#412889#412889

#412889 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.152 H 288.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#412889
RGBrgb(65, 40, 137)
HSLhsl(255, 55%, 35%)
HSVhsv(255, 71%, 54%)
CMYKcmyk(52.6%, 70.8%, 0%, 46.3%)
CIE-LABlab(25.10, 36.86, -50.17)
CIE-LCHlch(25.10, 62.25, 306.31°)
OKLaboklab(37.04% 0.0483 -0.144)
OKLCHoklch(37.04% 0.152 288.5)
XYZxyz(7.4528, 4.4472, 24.1278)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412889 #708928
analogous
#284089 #412889 #722889
triadic
#412889 #894128 #288941
tetradic
#412889 #892840 #708928 #288972
square
#412889 #892840 #708928 #288972
split-complementary
#412889 #897228 #408928
monochromatic
#140C2A #2B1A5A #412889 #5736B8 #7A5CCF

Accessibility & contrast

On white

11.11
#412889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412889
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412889#FFFFFF#000000##FFFFFF
##4128891.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#274155
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412889;
/* rgb */ color: rgb(65, 40, 137);
/* oklch */ color: oklch(37.0% 0.152 288.5);
Tailwind
colors: {
  custom: {
    50: '#7d64ac',
    500: '#412889',
    950: '#000000',
  },
}
SCSS
$custom: #412889;
$custom-light: #7d64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412889",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 255.464,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37037,
    "c": 0.15189,
    "h": 288.5
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#412889
secondary
#9DB558
accent
#DE4AB8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412889

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

Preview Lab → · Contrast checker → · Palette generator →

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