#412379#412379

#412379 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.138 H 294.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#412379
RGBrgb(65, 35, 121)
HSLhsl(261, 55%, 31%)
HSVhsv(261, 71%, 47%)
CMYKcmyk(46.3%, 71.1%, 0%, 52.5%)
CIE-LABlab(22.68, 34.91, -44.04)
CIE-LCHlch(22.68, 56.19, 308.40°)
OKLaboklab(34.87% 0.0562 -0.126)
OKLCHoklch(34.87% 0.138 294.1)
XYZxyz(6.2313, 3.7062, 18.4725)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412379 #5B7923
analogous
#233079 #412379 #6C2379
triadic
#412379 #794123 #237941
tetradic
#412379 #792330 #5B7923 #23796C
square
#412379 #792330 #5B7923 #23796C
split-complementary
#412379 #796C23 #307923
monochromatic
#0E081A #27154A #412379 #5A31A8 #784BCB

Accessibility & contrast

On white

12.06
#412379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#412379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412379
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412379#FFFFFF#000000##FFFFFF
##4123791.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#31384B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412379;
/* rgb */ color: rgb(65, 35, 121);
/* oklch */ color: oklch(34.9% 0.138 294.1);
Tailwind
colors: {
  custom: {
    50: '#7b60a0',
    500: '#412379',
    950: '#000000',
  },
}
SCSS
$custom: #412379;
$custom-light: #7b60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412379",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 260.93,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34871,
    "c": 0.13797,
    "h": 294.1
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#412379
secondary
#8AAC4C
accent
#DE49AA
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #412379

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

Preview Lab → · Contrast checker → · Palette generator →

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