#412472#412472

#412472 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.128 H 296.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#412472
RGBrgb(65, 36, 114)
HSLhsl(262, 52%, 29%)
HSVhsv(262, 68%, 45%)
CMYKcmyk(43%, 68.4%, 0%, 55.3%)
CIE-LABlab(22.30, 32.28, -40.16)
CIE-LCHlch(22.30, 51.53, 308.79°)
OKLaboklab(34.42% 0.0561 -0.1146)
OKLCHoklch(34.42% 0.128 296.1)
XYZxyz(5.8473, 3.6004, 16.3032)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412472 #557224
analogous
#242E72 #412472 #682472
triadic
#412472 #724124 #247241
tetradic
#412472 #72242E #557224 #247268
square
#412472 #72242E #557224 #247268
split-complementary
#412472 #726824 #2E7224
monochromatic
#0D0717 #261543 #412472 #5C33A1 #784AC6

Accessibility & contrast

On white

12.21
#412472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#412472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412472
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412472#FFFFFF#000000##FFFFFF
##4124721.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#343647
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412472;
/* rgb */ color: rgb(65, 36, 114);
/* oklch */ color: oklch(34.4% 0.128 296.1);
Tailwind
colors: {
  custom: {
    50: '#7a619b',
    500: '#412472',
    950: '#000000',
  },
}
SCSS
$custom: #412472;
$custom-light: #7a619b;
$custom-dark: #000000;
JSON
{
  "hex": "#412472",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 262.308,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34422,
    "c": 0.12761,
    "h": 296.1
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#412472
secondary
#84A54D
accent
#DB4CA6
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412472

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

Preview Lab → · Contrast checker → · Palette generator →

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