#412474#412474

#412474 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.130 H 295.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#412474
RGBrgb(65, 36, 116)
HSLhsl(262, 53%, 30%)
HSVhsv(262, 69%, 45%)
CMYKcmyk(44%, 69%, 0%, 54.5%)
CIE-LABlab(22.47, 32.87, -41.18)
CIE-LCHlch(22.47, 52.69, 308.59°)
OKLaboklab(34.59% 0.0559 -0.1176)
OKLCHoklch(34.59% 0.13 295.4)
XYZxyz(5.9624, 3.6464, 16.9093)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412474 #577424
analogous
#242F74 #412474 #692474
triadic
#412474 #744124 #247441
tetradic
#412474 #74242F #577424 #247469
square
#412474 #74242F #577424 #247469
split-complementary
#412474 #746924 #2F7424
monochromatic
#0D0717 #271645 #412474 #5B32A3 #784BC7

Accessibility & contrast

On white

12.14
#412474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#412474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412474
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412474#FFFFFF#000000##FFFFFF
##4124741.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#343748
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412474;
/* rgb */ color: rgb(65, 36, 116);
/* oklch */ color: oklch(34.6% 0.130 295.4);
Tailwind
colors: {
  custom: {
    50: '#7a619d',
    500: '#412474',
    950: '#000000',
  },
}
SCSS
$custom: #412474;
$custom-light: #7a619d;
$custom-dark: #000000;
JSON
{
  "hex": "#412474",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 261.75,
    "s": 52.632,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3459,
    "c": 0.1302,
    "h": 295.4
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#412474
secondary
#86A74D
accent
#DC4CA8
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412474

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

Preview Lab → · Contrast checker → · Palette generator →

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