#412476#412476

#412476 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.133 H 294.8°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#412476
RGBrgb(65, 36, 118)
HSLhsl(261, 53%, 30%)
HSVhsv(261, 69%, 46%)
CMYKcmyk(44.9%, 69.5%, 0%, 53.7%)
CIE-LABlab(22.63, 33.46, -42.19)
CIE-LCHlch(22.63, 53.85, 308.41°)
OKLaboklab(34.76% 0.0556 -0.1206)
OKLCHoklch(34.76% 0.133 294.8)
XYZxyz(6.0800, 3.6934, 17.5286)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412476 #597624
analogous
#243076 #412476 #6A2476
triadic
#412476 #764124 #247641
tetradic
#412476 #762430 #597624 #24766A
square
#412476 #762430 #597624 #24766A
split-complementary
#412476 #766A24 #307624
monochromatic
#0D0718 #271647 #412476 #5B32A5 #784CC8

Accessibility & contrast

On white

12.08
#412476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412476
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412476#FFFFFF#000000##FFFFFF
##4124761.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#333849
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412476;
/* rgb */ color: rgb(65, 36, 118);
/* oklch */ color: oklch(34.8% 0.133 294.8);
Tailwind
colors: {
  custom: {
    50: '#7b619e',
    500: '#412476',
    950: '#000000',
  },
}
SCSS
$custom: #412476;
$custom-light: #7b619e;
$custom-dark: #000000;
JSON
{
  "hex": "#412476",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 261.22,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3476,
    "c": 0.13278,
    "h": 294.8
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#412476
secondary
#88A94D
accent
#DD4BA9
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412476

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

Preview Lab → · Contrast checker → · Palette generator →

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