#412594#412594

#412594 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.169 H 286.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#412594
RGBrgb(65, 37, 148)
HSLhsl(255, 60%, 36%)
HSVhsv(255, 75%, 58%)
CMYKcmyk(56.1%, 75%, 0%, 42%)
CIE-LABlab(25.52, 41.85, -56.30)
CIE-LCHlch(25.52, 70.15, 306.62°)
OKLaboklab(37.65% 0.0486 -0.162)
OKLCHoklch(37.65% 0.169 286.7)
XYZxyz(8.1852, 4.5846, 28.4648)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412594 #789425
analogous
#254194 #412594 #792594
triadic
#412594 #944125 #259441
tetradic
#412594 #942541 #789425 #259479
square
#412594 #942541 #789425 #259479
split-complementary
#412594 #947925 #419425
monochromatic
#160D32 #2B1963 #412594 #5731C5 #7C5DD6

Accessibility & contrast

On white

10.95
#412594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#412594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412594
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412594#FFFFFF#000000##FFFFFF
##4125941.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#1D435A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412594;
/* rgb */ color: rgb(65, 37, 148);
/* oklch */ color: oklch(37.6% 0.169 286.7);
Tailwind
colors: {
  custom: {
    50: '#7f63b4',
    500: '#412594',
    950: '#000000',
  },
}
SCSS
$custom: #412594;
$custom-light: #7f63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412594",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 255.135,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37645,
    "c": 0.16911,
    "h": 286.7
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#412594
secondary
#A3BB59
accent
#E345BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412594

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

Preview Lab → · Contrast checker → · Palette generator →

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