#412AA7#412AA7

#412AA7 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.187 H 282.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#412AA7
RGBrgb(65, 42, 167)
HSLhsl(251, 60%, 41%)
HSVhsv(251, 75%, 65%)
CMYKcmyk(61.1%, 74.9%, 0%, 34.5%)
CIE-LABlab(28.30, 44.95, -63.32)
CIE-LCHlch(28.30, 77.65, 305.37°)
OKLaboklab(40.17% 0.0401 -0.1825)
OKLCHoklch(40.17% 0.187 282.4)
XYZxyz(9.9808, 5.5691, 37.1007)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AA7 #90A72A
analogous
#2A51A7 #412AA7 #7F2AA7
triadic
#412AA7 #A7412A #2AA741
tetradic
#412AA7 #A72A51 #90A72A #2AA77F
square
#412AA7 #A72A51 #90A72A #2AA77F
split-complementary
#412AA7 #A77F2A #51A72A
monochromatic
#1B1145 #2E1E76 #412AA7 #5A3FCF #8470DB

Accessibility & contrast

On white

9.93
#412AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#412AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AA7
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AA7#FFFFFF#000000##FFFFFF
##412AA71.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412aa7;
/* rgb */ color: rgb(65, 42, 167);
/* oklch */ color: oklch(40.2% 0.187 282.4);
Tailwind
colors: {
  custom: {
    50: '#8266c2',
    500: '#412aa7',
    950: '#000000',
  },
}
SCSS
$custom: #412aa7;
$custom-light: #8266c2;
$custom-dark: #000000;
JSON
{
  "hex": "#412aa7",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 251.04,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40167,
    "c": 0.1869,
    "h": 282.4
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#412AA7
secondary
#B2C26B
accent
#E345C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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