#412989#412989

#412989 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.151 H 288.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#412989
RGBrgb(65, 41, 137)
HSLhsl(255, 54%, 35%)
HSVhsv(255, 70%, 54%)
CMYKcmyk(52.6%, 70.1%, 0%, 46.3%)
CIE-LABlab(25.31, 36.29, -49.83)
CIE-LCHlch(25.31, 61.64, 306.06°)
OKLaboklab(37.19% 0.0473 -0.143)
OKLCHoklch(37.19% 0.151 288.3)
XYZxyz(7.4869, 4.5155, 24.1391)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412989 #718929
analogous
#294189 #412989 #712989
triadic
#412989 #894129 #298941
tetradic
#412989 #892941 #718929 #298971
square
#412989 #892941 #718929 #298971
split-complementary
#412989 #897129 #418929
monochromatic
#140D2B #2B1B5A #412989 #5737B8 #7A5ECF

Accessibility & contrast

On white

11.03
#412989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412989
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412989#FFFFFF#000000##FFFFFF
##4129891.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.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: #412989;
/* rgb */ color: rgb(65, 41, 137);
/* oklch */ color: oklch(37.2% 0.151 288.3);
Tailwind
colors: {
  custom: {
    50: '#7d65ac',
    500: '#412989',
    950: '#000000',
  },
}
SCSS
$custom: #412989;
$custom-light: #7d65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412989",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 255,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37187,
    "c": 0.15063,
    "h": 288.3
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#412989
secondary
#9EB45A
accent
#DD4AB9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412989

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

Preview Lab → · Contrast checker → · Palette generator →

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