#412BA7#412BA7

#412BA7 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.186 H 282.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#412BA7
RGBrgb(65, 43, 167)
HSLhsl(251, 59%, 41%)
HSVhsv(251, 74%, 65%)
CMYKcmyk(61.1%, 74.3%, 0%, 34.5%)
CIE-LABlab(28.49, 44.42, -63.00)
CIE-LCHlch(28.49, 77.09, 305.18°)
OKLaboklab(40.3% 0.0394 -0.1816)
OKLCHoklch(40.3% 0.186 282.2)
XYZxyz(10.0167, 5.6409, 37.1127)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BA7 #91A72B
analogous
#2B53A7 #412BA7 #7F2BA7
triadic
#412BA7 #A7412B #2BA741
tetradic
#412BA7 #A72B53 #91A72B #2BA77F
square
#412BA7 #A72B53 #91A72B #2BA77F
split-complementary
#412BA7 #A77F2B #53A72B
monochromatic
#1B1246 #2E1E76 #412BA7 #5A41CE #8472DB

Accessibility & contrast

On white

9.87
#412BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#412BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BA7
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BA7#FFFFFF#000000##FFFFFF
##412BA71.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412ba7;
/* rgb */ color: rgb(65, 43, 167);
/* oklch */ color: oklch(40.3% 0.186 282.2);
Tailwind
colors: {
  custom: {
    50: '#8267c2',
    500: '#412ba7',
    950: '#000000',
  },
}
SCSS
$custom: #412ba7;
$custom-light: #8267c2;
$custom-dark: #000000;
JSON
{
  "hex": "#412ba7",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 250.645,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40301,
    "c": 0.18587,
    "h": 282.2
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#412BA7
secondary
#B3C26C
accent
#E246C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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