#412479#412479

#412479 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.137 H 293.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#412479
RGBrgb(65, 36, 121)
HSLhsl(260, 54%, 31%)
HSVhsv(260, 70%, 47%)
CMYKcmyk(46.3%, 70.2%, 0%, 52.5%)
CIE-LABlab(22.88, 34.34, -43.70)
CIE-LCHlch(22.88, 55.58, 308.16°)
OKLaboklab(35.02% 0.0552 -0.125)
OKLCHoklch(35.02% 0.137 293.8)
XYZxyz(6.2611, 3.7659, 18.4825)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412479 #5C7924
analogous
#243179 #412479 #6B2479
triadic
#412479 #794124 #247941
tetradic
#412479 #792431 #5C7924 #24796B
square
#412479 #792431 #5C7924 #24796B
split-complementary
#412479 #796B24 #317924
monochromatic
#0E081B #28164A #412479 #5A32A8 #784DCA

Accessibility & contrast

On white

11.98
#412479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#412479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412479
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412479#FFFFFF#000000##FFFFFF
##4124791.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#31394B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412479;
/* rgb */ color: rgb(65, 36, 121);
/* oklch */ color: oklch(35.0% 0.137 293.8);
Tailwind
colors: {
  custom: {
    50: '#7b61a0',
    500: '#412479',
    950: '#000000',
  },
}
SCSS
$custom: #412479;
$custom-light: #7b61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412479",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 260.471,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35019,
    "c": 0.13663,
    "h": 293.8
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#412479
secondary
#8BAC4D
accent
#DE4AAB
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #412479

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

Preview Lab → · Contrast checker → · Palette generator →

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