#412CA9#412CA9

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

Color values

HEX#412CA9
RGBrgb(65, 44, 169)
HSLhsl(250, 59%, 42%)
HSVhsv(250, 74%, 66%)
CMYKcmyk(61.5%, 74%, 0%, 33.7%)
CIE-LABlab(28.87, 44.49, -63.57)
CIE-LCHlch(28.87, 77.60, 304.99°)
OKLaboklab(40.63% 0.0382 -0.1833)
OKLCHoklch(40.63% 0.187 281.8)
XYZxyz(10.2398, 5.7890, 38.1062)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CA9 #94A92C
analogous
#2C56A9 #412CA9 #802CA9
triadic
#412CA9 #A9412C #2CA941
tetradic
#412CA9 #A92C56 #94A92C #2CA980
square
#412CA9 #A92C56 #94A92C #2CA980
split-complementary
#412CA9 #A9802C #56A92C
monochromatic
#1C1348 #2E1F78 #412CA9 #5B44CE #8674DB

Accessibility & contrast

On white

9.73
#412CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#412CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CA9
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CA9#FFFFFF#000000##FFFFFF
##412CA91.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412ca9;
/* rgb */ color: rgb(65, 44, 169);
/* oklch */ color: oklch(40.6% 0.187 281.8);
Tailwind
colors: {
  custom: {
    50: '#8268c4',
    500: '#412ca9',
    950: '#000000',
  },
}
SCSS
$custom: #412ca9;
$custom-light: #8268c4;
$custom-dark: #000000;
JSON
{
  "hex": "#412ca9",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 250.08,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.18726,
    "h": 281.8
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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