#412573#412573

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

Color values

HEX#412573
RGBrgb(65, 37, 115)
HSLhsl(262, 51%, 30%)
HSVhsv(262, 68%, 45%)
CMYKcmyk(43.5%, 67.8%, 0%, 54.9%)
CIE-LABlab(22.60, 31.99, -40.32)
CIE-LCHlch(22.60, 51.47, 308.42°)
OKLaboklab(34.66% 0.0548 -0.1151)
OKLCHoklch(34.66% 0.127 295.5)
XYZxyz(5.9352, 3.6846, 16.6148)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412573 #577325
analogous
#253073 #412573 #682573
triadic
#412573 #734125 #257341
tetradic
#412573 #732530 #577325 #257368
square
#412573 #732530 #577325 #257368
split-complementary
#412573 #736825 #307325
monochromatic
#0D0717 #271645 #412573 #5B34A1 #784DC6

Accessibility & contrast

On white

12.09
#412573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412573
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412573#FFFFFF#000000##FFFFFF
##4125731.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412573;
/* rgb */ color: rgb(65, 37, 115);
/* oklch */ color: oklch(34.7% 0.127 295.5);
Tailwind
colors: {
  custom: {
    50: '#7a619c',
    500: '#412573',
    950: '#000000',
  },
}
SCSS
$custom: #412573;
$custom-light: #7a619c;
$custom-dark: #000000;
JSON
{
  "hex": "#412573",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 261.538,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34661,
    "c": 0.12747,
    "h": 295.5
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

primary
#412573
secondary
#86A64E
accent
#DB4DA8
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412573

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

Preview Lab → · Contrast checker → · Palette generator →

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