#412494#412494

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

Color values

HEX#412494
RGBrgb(65, 36, 148)
HSLhsl(256, 61%, 36%)
HSVhsv(256, 76%, 58%)
CMYKcmyk(56.1%, 75.7%, 0%, 42%)
CIE-LABlab(25.33, 42.38, -56.61)
CIE-LCHlch(25.33, 70.71, 306.82°)
OKLaboklab(37.51% 0.0494 -0.1629)
OKLCHoklch(37.51% 0.17 286.9)
XYZxyz(8.1546, 4.5232, 28.4546)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412494 #779424
analogous
#243F94 #412494 #792494
triadic
#412494 #944124 #249441
tetradic
#412494 #94243F #779424 #249479
square
#412494 #94243F #779424 #249479
split-complementary
#412494 #947924 #3F9424
monochromatic
#160C32 #2B1863 #412494 #5730C5 #7B5BD7

Accessibility & contrast

On white

11.02
#412494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412494
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412494#FFFFFF#000000##FFFFFF
##4124941.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.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: #412494;
/* rgb */ color: rgb(65, 36, 148);
/* oklch */ color: oklch(37.5% 0.170 286.9);
Tailwind
colors: {
  custom: {
    50: '#7f62b4',
    500: '#412494',
    950: '#000000',
  },
}
SCSS
$custom: #412494;
$custom-light: #7f62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412494",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 255.536,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37514,
    "c": 0.1702,
    "h": 286.9
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#412494
secondary
#A2BC58
accent
#E444BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412494

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

Preview Lab → · Contrast checker → · Palette generator →

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