#412076#412076

#412076 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.138 H 295.7°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#412076
RGBrgb(65, 32, 118)
HSLhsl(263, 57%, 29%)
HSVhsv(263, 73%, 46%)
CMYKcmyk(44.9%, 72.9%, 0%, 53.7%)
CIE-LABlab(21.82, 35.70, -43.52)
CIE-LCHlch(21.82, 56.29, 309.37°)
OKLaboklab(34.18% 0.06 -0.1245)
OKLCHoklch(34.18% 0.138 295.7)
XYZxyz(5.9656, 3.4647, 17.4905)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412076 #557620
analogous
#202A76 #412076 #6C2076
triadic
#412076 #764120 #207641
tetradic
#412076 #76202A #557620 #20766C
square
#412076 #76202A #557620 #20766C
split-complementary
#412076 #766C20 #2A7620
monochromatic
#0D0718 #261346 #412076 #5C2DA6 #7844CC

Accessibility & contrast

On white

12.40
#412076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#412076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412076
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412076#FFFFFF#000000##FFFFFF
##4120761.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#333548
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412076;
/* rgb */ color: rgb(65, 32, 118);
/* oklch */ color: oklch(34.2% 0.138 295.7);
Tailwind
colors: {
  custom: {
    50: '#7b5e9e',
    500: '#412076',
    950: '#000000',
  },
}
SCSS
$custom: #412076;
$custom-light: #7b5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#412076",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 263.023,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34177,
    "c": 0.13818,
    "h": 295.7
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#412076
secondary
#84A948
accent
#E147A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #412076

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

Preview Lab → · Contrast checker → · Palette generator →

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