#412473#412473

#412473 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.129 H 295.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#412473
RGBrgb(65, 36, 115)
HSLhsl(262, 52%, 30%)
HSVhsv(262, 69%, 45%)
CMYKcmyk(43.5%, 68.7%, 0%, 54.9%)
CIE-LABlab(22.38, 32.57, -40.67)
CIE-LCHlch(22.38, 52.11, 308.69°)
OKLaboklab(34.51% 0.056 -0.1161)
OKLCHoklch(34.51% 0.129 295.8)
XYZxyz(5.9045, 3.6232, 16.6046)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412473 #567324
analogous
#242F73 #412473 #692473
triadic
#412473 #734124 #247341
tetradic
#412473 #73242F #567324 #247369
square
#412473 #73242F #567324 #247369
split-complementary
#412473 #736924 #2F7324
monochromatic
#0D0717 #271544 #412473 #5B33A2 #784BC7

Accessibility & contrast

On white

12.18
#412473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412473
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412473#FFFFFF#000000##FFFFFF
##4124731.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#343748
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412473;
/* rgb */ color: rgb(65, 36, 115);
/* oklch */ color: oklch(34.5% 0.129 295.8);
Tailwind
colors: {
  custom: {
    50: '#7a619c',
    500: '#412473',
    950: '#000000',
  },
}
SCSS
$custom: #412473;
$custom-light: #7a619c;
$custom-dark: #000000;
JSON
{
  "hex": "#412473",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 262.025,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34506,
    "c": 0.1289,
    "h": 295.8
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#412473
secondary
#85A64D
accent
#DC4CA7
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412473

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

Preview Lab → · Contrast checker → · Palette generator →

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