#412CA4#412CA4

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

Color values

HEX#412CA4
RGBrgb(65, 44, 164)
HSLhsl(251, 58%, 41%)
HSVhsv(251, 73%, 64%)
CMYKcmyk(60.4%, 73.2%, 0%, 35.7%)
CIE-LABlab(28.39, 42.95, -61.35)
CIE-LCHlch(28.39, 74.89, 304.99°)
OKLaboklab(40.15% 0.0394 -0.1768)
OKLCHoklch(40.15% 0.181 282.5)
XYZxyz(9.7794, 5.6049, 35.6813)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CA4 #8FA42C
analogous
#2C53A4 #412CA4 #7D2CA4
triadic
#412CA4 #A4412C #2CA441
tetradic
#412CA4 #A42C53 #8FA42C #2CA47D
square
#412CA4 #A42C53 #8FA42C #2CA47D
split-complementary
#412CA4 #A47D2C #53A42C
monochromatic
#1B1243 #2E1F74 #412CA4 #5941CC #8471D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412CA4#FFFFFF#000000##FFFFFF
##412CA41.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)
#0047A8
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412ca4;
/* rgb */ color: rgb(65, 44, 164);
/* oklch */ color: oklch(40.1% 0.181 282.5);
Tailwind
colors: {
  custom: {
    50: '#8168c0',
    500: '#412ca4',
    950: '#000000',
  },
}
SCSS
$custom: #412ca4;
$custom-light: #8168c0;
$custom-dark: #000000;
JSON
{
  "hex": "#412ca4",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 250.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.18113,
    "h": 282.5
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#412CA4
secondary
#B1C06B
accent
#E147C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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