#412BA2#412BA2

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

Color values

HEX#412BA2
RGBrgb(65, 43, 162)
HSLhsl(251, 58%, 40%)
HSVhsv(251, 73%, 64%)
CMYKcmyk(59.9%, 73.5%, 0%, 36.5%)
CIE-LABlab(28.01, 42.88, -60.77)
CIE-LCHlch(28.01, 74.37, 305.20°)
OKLaboklab(39.81% 0.0406 -0.1751)
OKLCHoklch(39.81% 0.18 283)
XYZxyz(9.5634, 5.4596, 34.7253)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BA2 #8CA22B
analogous
#2B51A2 #412BA2 #7C2BA2
triadic
#412BA2 #A2412B #2BA241
tetradic
#412BA2 #A22B51 #8CA22B #2BA27C
square
#412BA2 #A22B51 #8CA22B #2BA27C
split-complementary
#412BA2 #A27C2B #51A22B
monochromatic
#1A1141 #2E1E72 #412BA2 #593ECC #826FD9

Accessibility & contrast

On white

10.04
#412BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#412BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BA2
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BA2#FFFFFF#000000##FFFFFF
##412BA21.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412ba2;
/* rgb */ color: rgb(65, 43, 162);
/* oklch */ color: oklch(39.8% 0.180 283.0);
Tailwind
colors: {
  custom: {
    50: '#8167bf',
    500: '#412ba2',
    950: '#000000',
  },
}
SCSS
$custom: #412ba2;
$custom-light: #8167bf;
$custom-dark: #000000;
JSON
{
  "hex": "#412ba2",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 251.092,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.17974,
    "h": 283
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#412BA2
secondary
#B0C069
accent
#E147C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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