#412574#412574

#412574 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.129 H 295.1°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#412574
RGBrgb(65, 37, 116)
HSLhsl(261, 52%, 30%)
HSVhsv(261, 68%, 45%)
CMYKcmyk(44%, 68.1%, 0%, 54.5%)
CIE-LABlab(22.68, 32.28, -40.83)
CIE-LCHlch(22.68, 52.05, 308.33°)
OKLaboklab(34.74% 0.0547 -0.1166)
OKLCHoklch(34.74% 0.129 295.1)
XYZxyz(5.9931, 3.7078, 16.9195)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412574 #587425
analogous
#253074 #412574 #692574
triadic
#412574 #744125 #257441
tetradic
#412574 #742530 #587425 #257469
square
#412574 #742530 #587425 #257469
split-complementary
#412574 #746925 #307425
monochromatic
#0D0717 #271646 #412574 #5B34A2 #784DC6

Accessibility & contrast

On white

12.06
#412574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412574
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412574#FFFFFF#000000##FFFFFF
##4125741.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#343749
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412574;
/* rgb */ color: rgb(65, 37, 116);
/* oklch */ color: oklch(34.7% 0.129 295.1);
Tailwind
colors: {
  custom: {
    50: '#7a619d',
    500: '#412574',
    950: '#000000',
  },
}
SCSS
$custom: #412574;
$custom-light: #7a619d;
$custom-dark: #000000;
JSON
{
  "hex": "#412574",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 261.266,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.34745,
    "c": 0.12878,
    "h": 295.1
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#412574
secondary
#87A74E
accent
#DB4DA9
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412574

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

Preview Lab → · Contrast checker → · Palette generator →

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