#412593#412593

#412593 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.168 H 286.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#412593
RGBrgb(65, 37, 147)
HSLhsl(255, 60%, 36%)
HSVhsv(255, 75%, 58%)
CMYKcmyk(55.8%, 74.8%, 0%, 42.4%)
CIE-LABlab(25.42, 41.55, -55.84)
CIE-LCHlch(25.42, 69.60, 306.65°)
OKLaboklab(37.55% 0.0488 -0.1606)
OKLCHoklch(37.55% 0.168 286.9)
XYZxyz(8.1064, 4.5531, 28.0498)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412593 #779325
analogous
#254093 #412593 #782593
triadic
#412593 #934125 #259341
tetradic
#412593 #932540 #779325 #259378
square
#412593 #932540 #779325 #259378
split-complementary
#412593 #937825 #409325
monochromatic
#160C31 #2B1962 #412593 #5731C4 #7B5CD6

Accessibility & contrast

On white

10.99
#412593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#412593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412593
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412593#FFFFFF#000000##FFFFFF
##4125931.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#1E435A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412593;
/* rgb */ color: rgb(65, 37, 147);
/* oklch */ color: oklch(37.5% 0.168 286.9);
Tailwind
colors: {
  custom: {
    50: '#7f63b4',
    500: '#412593',
    950: '#000000',
  },
}
SCSS
$custom: #412593;
$custom-light: #7f63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412593",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 255.273,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37549,
    "c": 0.16789,
    "h": 286.9
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412593

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

Preview Lab → · Contrast checker → · Palette generator →

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