#412AA3#412AA3

#412AA3 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.182 H 283.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#412AA3
RGBrgb(65, 42, 163)
HSLhsl(251, 59%, 40%)
HSVhsv(251, 74%, 64%)
CMYKcmyk(60.1%, 74.2%, 0%, 36.1%)
CIE-LABlab(27.91, 43.73, -61.54)
CIE-LCHlch(27.91, 75.49, 305.40°)
OKLaboklab(39.77% 0.0411 -0.1773)
OKLCHoklch(39.77% 0.182 283)
XYZxyz(9.6168, 5.4234, 35.1833)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AA3 #8CA32A
analogous
#2A4FA3 #412AA3 #7D2AA3
triadic
#412AA3 #A3412A #2AA341
tetradic
#412AA3 #A32A4F #8CA32A #2AA37D
square
#412AA3 #A32A4F #8CA32A #2AA37D
split-complementary
#412AA3 #A37D2A #4FA32A
monochromatic
#1A1142 #2E1D72 #412AA3 #593DCD #826EDA

Accessibility & contrast

On white

10.07
#412AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412AA3
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AA3#FFFFFF#000000##FFFFFF
##412AA31.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412aa3;
/* rgb */ color: rgb(65, 42, 163);
/* oklch */ color: oklch(39.8% 0.182 283.0);
Tailwind
colors: {
  custom: {
    50: '#8166bf',
    500: '#412aa3',
    950: '#000000',
  },
}
SCSS
$custom: #412aa3;
$custom-light: #8166bf;
$custom-dark: #000000;
JSON
{
  "hex": "#412aa3",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 251.405,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.18203,
    "h": 283
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#412AA3
secondary
#B0C068
accent
#E246C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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