#412470#412470

#412470 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.125 H 296.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#412470
RGBrgb(65, 36, 112)
HSLhsl(263, 51%, 29%)
HSVhsv(263, 68%, 44%)
CMYKcmyk(42%, 67.9%, 0%, 56.1%)
CIE-LABlab(22.14, 31.70, -39.13)
CIE-LCHlch(22.14, 50.36, 309.01°)
OKLaboklab(34.26% 0.0564 -0.1116)
OKLCHoklch(34.26% 0.125 296.8)
XYZxyz(5.7347, 3.5553, 15.7102)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412470 #537024
analogous
#242D70 #412470 #672470
triadic
#412470 #704124 #247041
tetradic
#412470 #70242D #537024 #247067
square
#412470 #70242D #537024 #247067
split-complementary
#412470 #706724 #2D7024
monochromatic
#0D0717 #261542 #412470 #5C339E #794AC5

Accessibility & contrast

On white

12.27
#412470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#412470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412470
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412470#FFFFFF#000000##FFFFFF
##4124701.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#353546
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412470;
/* rgb */ color: rgb(65, 36, 112);
/* oklch */ color: oklch(34.3% 0.125 296.8);
Tailwind
colors: {
  custom: {
    50: '#7a619a',
    500: '#412470',
    950: '#000000',
  },
}
SCSS
$custom: #412470;
$custom-light: #7a619a;
$custom-dark: #000000;
JSON
{
  "hex": "#412470",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 262.895,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34256,
    "c": 0.12501,
    "h": 296.8
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#412470
secondary
#82A34D
accent
#DB4DA5
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #412470

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

Preview Lab → · Contrast checker → · Palette generator →

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