#412BA6#412BA6

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

Color values

HEX#412BA6
RGBrgb(65, 43, 166)
HSLhsl(251, 59%, 41%)
HSVhsv(251, 74%, 65%)
CMYKcmyk(60.8%, 74.1%, 0%, 34.9%)
CIE-LABlab(28.39, 44.11, -62.56)
CIE-LCHlch(28.39, 76.55, 305.19°)
OKLaboklab(40.2% 0.0397 -0.1803)
OKLCHoklch(40.2% 0.185 282.4)
XYZxyz(9.9246, 5.6041, 36.6277)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BA6 #90A62B
analogous
#2B52A6 #412BA6 #7E2BA6
triadic
#412BA6 #A6412B #2BA641
tetradic
#412BA6 #A62B52 #90A62B #2BA67E
square
#412BA6 #A62B52 #90A62B #2BA67E
split-complementary
#412BA6 #A67E2B #52A62B
monochromatic
#1B1245 #2E1E75 #412BA6 #5A41CE #8471DA

Accessibility & contrast

On white

9.90
#412BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#412BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BA6
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BA6#FFFFFF#000000##FFFFFF
##412BA61.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412ba6;
/* rgb */ color: rgb(65, 43, 166);
/* oklch */ color: oklch(40.2% 0.185 282.4);
Tailwind
colors: {
  custom: {
    50: '#8267c2',
    500: '#412ba6',
    950: '#000000',
  },
}
SCSS
$custom: #412ba6;
$custom-light: #8267c2;
$custom-dark: #000000;
JSON
{
  "hex": "#412ba6",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 250.732,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.18465,
    "h": 282.4
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#412BA6
secondary
#B2C16B
accent
#E246C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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