#412193#412193

#412193 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.172 H 287.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#412193
RGBrgb(65, 33, 147)
HSLhsl(257, 63%, 35%)
HSVhsv(257, 78%, 58%)
CMYKcmyk(55.8%, 77.6%, 0%, 42.4%)
CIE-LABlab(24.70, 43.61, -57.04)
CIE-LCHlch(24.70, 71.80, 307.40°)
OKLaboklab(37.04% 0.052 -0.1641)
OKLCHoklch(37.04% 0.172 287.6)
XYZxyz(7.9887, 4.3177, 28.0106)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412193 #739321
analogous
#213A93 #412193 #7A2193
triadic
#412193 #934121 #219341
tetradic
#412193 #93213A #739321 #21937A
square
#412193 #93213A #739321 #21937A
split-complementary
#412193 #937A21 #3A9321
monochromatic
#150B2F #2B1661 #412193 #572CC5 #7A55D9

Accessibility & contrast

On white

11.27
#412193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412193
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412193#FFFFFF#000000##FFFFFF
##4121931.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#1E4159
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412193;
/* rgb */ color: rgb(65, 33, 147);
/* oklch */ color: oklch(37.0% 0.172 287.6);
Tailwind
colors: {
  custom: {
    50: '#7f60b4',
    500: '#412193',
    950: '#000000',
  },
}
SCSS
$custom: #412193;
$custom-light: #7f60b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412193",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 256.842,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37038,
    "c": 0.17214,
    "h": 287.6
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#412193
secondary
#9FBD53
accent
#E641B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412193

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

Preview Lab → · Contrast checker → · Palette generator →

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