#412077#412077

#412077 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.139 H 295.4°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#412077
RGBrgb(65, 32, 119)
HSLhsl(263, 58%, 30%)
HSVhsv(263, 73%, 47%)
CMYKcmyk(45.4%, 73.1%, 0%, 53.3%)
CIE-LABlab(21.90, 35.99, -44.02)
CIE-LCHlch(21.90, 56.86, 309.27°)
OKLaboklab(34.27% 0.0598 -0.1259)
OKLCHoklch(34.27% 0.139 295.4)
XYZxyz(6.0254, 3.4886, 17.8051)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412077 #567720
analogous
#202A77 #412077 #6D2077
triadic
#412077 #774120 #207741
tetradic
#412077 #77202A #567720 #20776D
square
#412077 #77202A #567720 #20776D
split-complementary
#412077 #776D20 #2A7720
monochromatic
#0D0618 #271347 #412077 #5B2DA7 #7845CD

Accessibility & contrast

On white

12.37
#412077 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#412077 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412077
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412077#FFFFFF#000000##FFFFFF
##4120771.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#323649
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412077;
/* rgb */ color: rgb(65, 32, 119);
/* oklch */ color: oklch(34.3% 0.139 295.4);
Tailwind
colors: {
  custom: {
    50: '#7b5e9f',
    500: '#412077',
    950: '#000000',
  },
}
SCSS
$custom: #412077;
$custom-light: #7b5e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#412077",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 119
  },
  "hsl": {
    "h": 262.759,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34266,
    "c": 0.13941,
    "h": 295.4
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#412077
secondary
#85AA48
accent
#E147A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #412077

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

Preview Lab → · Contrast checker → · Palette generator →

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