#412779#412779

#412779 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.5% C 0.132 H 293.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#412779
RGBrgb(65, 39, 121)
HSLhsl(259, 51%, 31%)
HSVhsv(259, 68%, 47%)
CMYKcmyk(46.3%, 67.8%, 0%, 52.5%)
CIE-LABlab(23.52, 32.59, -42.66)
CIE-LCHlch(23.52, 53.68, 307.38°)
OKLaboklab(35.48% 0.0518 -0.1219)
OKLCHoklch(35.48% 0.132 293)
XYZxyz(6.3557, 3.9551, 18.5140)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412779 #5F7927
analogous
#273679 #412779 #6A2779
triadic
#412779 #794127 #277941
tetradic
#412779 #792736 #5F7927 #27796A
square
#412779 #792736 #5F7927 #27796A
split-complementary
#412779 #796A27 #367927
monochromatic
#0F091C #28184B #412779 #5A36A7 #7853C8

Accessibility & contrast

On white

11.73
#412779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412779
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412779#FFFFFF#000000##FFFFFF
##4127791.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#313A4C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412779;
/* rgb */ color: rgb(65, 39, 121);
/* oklch */ color: oklch(35.5% 0.132 293.0);
Tailwind
colors: {
  custom: {
    50: '#7b63a0',
    500: '#412779',
    950: '#000000',
  },
}
SCSS
$custom: #412779;
$custom-light: #7b63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412779",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 259.024,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3548,
    "c": 0.13248,
    "h": 293
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#412779
secondary
#8EAB51
accent
#DB4DAE
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #412779

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

Preview Lab → · Contrast checker → · Palette generator →

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