#412BAA#412BAA

#412BAA is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.190 H 281.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#412BAA
RGBrgb(65, 43, 170)
HSLhsl(250, 60%, 42%)
HSVhsv(250, 75%, 67%)
CMYKcmyk(61.8%, 74.7%, 0%, 33.3%)
CIE-LABlab(28.78, 45.34, -64.33)
CIE-LCHlch(28.78, 78.70, 305.18°)
OKLaboklab(40.6% 0.0387 -0.1855)
OKLCHoklch(40.6% 0.19 281.8)
XYZxyz(10.2973, 5.7531, 38.5903)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BAA #94AA2B
analogous
#2B55AA #412BAA #812BAA
triadic
#412BAA #AA412B #2BAA41
tetradic
#412BAA #AA2B55 #94AA2B #2BAA81
square
#412BAA #AA2B55 #94AA2B #2BAA81
split-complementary
#412BAA #AA812B #55AA2B
monochromatic
#1C1248 #2E1F79 #412BAA #5B43CF #8674DC

Accessibility & contrast

On white

9.76
#412BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#412BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BAA
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BAA#FFFFFF#000000##FFFFFF
##412BAA1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412baa;
/* rgb */ color: rgb(65, 43, 170);
/* oklch */ color: oklch(40.6% 0.190 281.8);
Tailwind
colors: {
  custom: {
    50: '#8367c4',
    500: '#412baa',
    950: '#000000',
  },
}
SCSS
$custom: #412baa;
$custom-light: #8367c4;
$custom-dark: #000000;
JSON
{
  "hex": "#412baa",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 250.394,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40597,
    "c": 0.18951,
    "h": 281.8
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#412BAA
secondary
#B4C36E
accent
#E345C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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