#412AA2#412AA2

#412AA2 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.181 H 283.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#412AA2
RGBrgb(65, 42, 162)
HSLhsl(252, 59%, 40%)
HSVhsv(252, 74%, 64%)
CMYKcmyk(59.9%, 74.1%, 0%, 36.5%)
CIE-LABlab(27.81, 43.42, -61.09)
CIE-LCHlch(27.81, 74.95, 305.40°)
OKLaboklab(39.68% 0.0413 -0.176)
OKLCHoklch(39.68% 0.181 283.2)
XYZxyz(9.5275, 5.3878, 34.7133)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AA2 #8BA22A
analogous
#2A4FA2 #412AA2 #7D2AA2
triadic
#412AA2 #A2412A #2AA241
tetradic
#412AA2 #A22A4F #8BA22A #2AA27D
square
#412AA2 #A22A4F #8BA22A #2AA27D
split-complementary
#412AA2 #A27D2A #4FA22A
monochromatic
#1A1141 #2D1D71 #412AA2 #583DCD #826DD9

Accessibility & contrast

On white

10.11
#412AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#412AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AA2
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AA2#FFFFFF#000000##FFFFFF
##412AA21.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412aa2;
/* rgb */ color: rgb(65, 42, 162);
/* oklch */ color: oklch(39.7% 0.181 283.2);
Tailwind
colors: {
  custom: {
    50: '#8166bf',
    500: '#412aa2',
    950: '#000000',
  },
}
SCSS
$custom: #412aa2;
$custom-light: #8166bf;
$custom-dark: #000000;
JSON
{
  "hex": "#412aa2",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 251.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.39676,
    "c": 0.18082,
    "h": 283.2
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#412AA2
secondary
#AFC068
accent
#E246C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412AA2

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

Preview Lab → · Contrast checker → · Palette generator →

#412AA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva