#412377#412377

#412377 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.135 H 294.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#412377
RGBrgb(65, 35, 119)
HSLhsl(261, 55%, 30%)
HSVhsv(261, 71%, 47%)
CMYKcmyk(45.4%, 70.6%, 0%, 53.3%)
CIE-LABlab(22.51, 34.32, -43.04)
CIE-LCHlch(22.51, 55.05, 308.57°)
OKLaboklab(34.7% 0.0566 -0.123)
OKLCHoklch(34.7% 0.135 294.7)
XYZxyz(6.1099, 3.6576, 17.8333)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412377 #597723
analogous
#232F77 #412377 #6B2377
triadic
#412377 #774123 #237741
tetradic
#412377 #77232F #597723 #23776B
square
#412377 #77232F #597723 #23776B
split-complementary
#412377 #776B23 #2F7723
monochromatic
#0D0718 #271548 #412377 #5B31A6 #784ACA

Accessibility & contrast

On white

12.13
#412377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#412377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412377
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412377#FFFFFF#000000##FFFFFF
##4123771.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#32374A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412377;
/* rgb */ color: rgb(65, 35, 119);
/* oklch */ color: oklch(34.7% 0.135 294.7);
Tailwind
colors: {
  custom: {
    50: '#7b609f',
    500: '#412377',
    950: '#000000',
  },
}
SCSS
$custom: #412377;
$custom-light: #7b609f;
$custom-dark: #000000;
JSON
{
  "hex": "#412377",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 261.429,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34697,
    "c": 0.13543,
    "h": 294.7
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#412377
secondary
#88AA4C
accent
#DE4AA9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412377

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

Preview Lab → · Contrast checker → · Palette generator →

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