#412194#412194

#412194 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.173 H 287.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#412194
RGBrgb(65, 33, 148)
HSLhsl(257, 64%, 35%)
HSVhsv(257, 78%, 58%)
CMYKcmyk(56.1%, 77.7%, 0%, 42%)
CIE-LABlab(24.79, 43.90, -57.49)
CIE-LCHlch(24.79, 72.34, 307.37°)
OKLaboklab(37.14% 0.0517 -0.1654)
OKLCHoklch(37.14% 0.173 287.4)
XYZxyz(8.0675, 4.3492, 28.4256)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412194 #749421
analogous
#213A94 #412194 #7B2194
triadic
#412194 #944121 #219441
tetradic
#412194 #94213A #749421 #21947B
square
#412194 #94213A #749421 #21947B
split-complementary
#412194 #947B21 #3A9421
monochromatic
#150B30 #2B1662 #412194 #572CC6 #7B56D9

Accessibility & contrast

On white

11.23
#412194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412194
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412194#FFFFFF#000000##FFFFFF
##4121941.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#1D4259
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412194;
/* rgb */ color: rgb(65, 33, 148);
/* oklch */ color: oklch(37.1% 0.173 287.4);
Tailwind
colors: {
  custom: {
    50: '#7f60b4',
    500: '#412194',
    950: '#000000',
  },
}
SCSS
$custom: #412194;
$custom-light: #7f60b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412194",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 256.696,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37137,
    "c": 0.17333,
    "h": 287.4
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#412194
secondary
#A0BD54
accent
#E741B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412194

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

Preview Lab → · Contrast checker → · Palette generator →

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