#412074#412074

#412074 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.136 H 296.4°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#412074
RGBrgb(65, 32, 116)
HSLhsl(264, 57%, 29%)
HSVhsv(264, 72%, 45%)
CMYKcmyk(44%, 72.4%, 0%, 54.5%)
CIE-LABlab(21.64, 35.13, -42.52)
CIE-LCHlch(21.64, 55.15, 309.56°)
OKLaboklab(34% 0.0604 -0.1215)
OKLCHoklch(34% 0.136 296.4)
XYZxyz(5.8480, 3.4177, 16.8712)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412074 #537420
analogous
#202974 #412074 #6B2074
triadic
#412074 #744120 #207441
tetradic
#412074 #742029 #537420 #20746B
square
#412074 #742029 #537420 #20746B
split-complementary
#412074 #746B20 #297420
monochromatic
#0D0718 #261344 #412074 #5C2DA4 #7943CB

Accessibility & contrast

On white

12.47
#412074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#412074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412074
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412074#FFFFFF#000000##FFFFFF
##4120741.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#343547
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412074;
/* rgb */ color: rgb(65, 32, 116);
/* oklch */ color: oklch(34.0% 0.136 296.4);
Tailwind
colors: {
  custom: {
    50: '#7b5e9d',
    500: '#412074',
    950: '#000000',
  },
}
SCSS
$custom: #412074;
$custom-light: #7b5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#412074",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 263.571,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34001,
    "c": 0.13569,
    "h": 296.4
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#412074
secondary
#82A848
accent
#E048A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #412074

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

Preview Lab → · Contrast checker → · Palette generator →

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