#412BA4#412BA4

#412BA4 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.182 H 282.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#412BA4
RGBrgb(65, 43, 164)
HSLhsl(251, 58%, 41%)
HSVhsv(251, 74%, 64%)
CMYKcmyk(60.4%, 73.8%, 0%, 35.7%)
CIE-LABlab(28.20, 43.49, -61.67)
CIE-LCHlch(28.20, 75.46, 305.19°)
OKLaboklab(40.01% 0.0401 -0.1777)
OKLCHoklch(40.01% 0.182 282.7)
XYZxyz(9.7426, 5.5312, 35.6690)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BA4 #8EA42B
analogous
#2B51A4 #412BA4 #7D2BA4
triadic
#412BA4 #A4412B #2BA441
tetradic
#412BA4 #A42B51 #8EA42B #2BA47D
square
#412BA4 #A42B51 #8EA42B #2BA47D
split-complementary
#412BA4 #A47D2B #51A42B
monochromatic
#1B1243 #2E1E74 #412BA4 #593FCD #8370D9

Accessibility & contrast

On white

9.97
#412BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412BA4
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BA4#FFFFFF#000000##FFFFFF
##412BA41.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412ba4;
/* rgb */ color: rgb(65, 43, 164);
/* oklch */ color: oklch(40.0% 0.182 282.7);
Tailwind
colors: {
  custom: {
    50: '#8267c0',
    500: '#412ba4',
    950: '#000000',
  },
}
SCSS
$custom: #412ba4;
$custom-light: #8267c0;
$custom-dark: #000000;
JSON
{
  "hex": "#412ba4",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 250.909,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40008,
    "c": 0.1822,
    "h": 282.7
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#412BA4
secondary
#B1C16A
accent
#E246C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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