#412079#412079

#412079 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.142 H 294.8°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#412079
RGBrgb(65, 32, 121)
HSLhsl(262, 58%, 30%)
HSVhsv(262, 74%, 47%)
CMYKcmyk(46.3%, 73.6%, 0%, 52.5%)
CIE-LABlab(22.08, 36.56, -45.01)
CIE-LCHlch(22.08, 57.99, 309.09°)
OKLaboklab(34.45% 0.0594 -0.1288)
OKLCHoklch(34.45% 0.142 294.8)
XYZxyz(6.1467, 3.5372, 18.4443)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412079 #587920
analogous
#202C79 #412079 #6D2079
triadic
#412079 #794120 #207941
tetradic
#412079 #79202C #587920 #20796D
square
#412079 #79202C #587920 #20796D
split-complementary
#412079 #796D20 #2C7920
monochromatic
#0D0618 #271349 #412079 #5B2DA9 #7845CE

Accessibility & contrast

On white

12.30
#412079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#412079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412079
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412079#FFFFFF#000000##FFFFFF
##4120791.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#31364A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412079;
/* rgb */ color: rgb(65, 32, 121);
/* oklch */ color: oklch(34.4% 0.142 294.8);
Tailwind
colors: {
  custom: {
    50: '#7b5ea0',
    500: '#412079',
    950: '#000000',
  },
}
SCSS
$custom: #412079;
$custom-light: #7b5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#412079",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 262.247,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.34445,
    "c": 0.14188,
    "h": 294.8
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#412079
secondary
#87AC49
accent
#E146A8
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #412079

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

Preview Lab → · Contrast checker → · Palette generator →

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