#412CA2#412CA2

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

Color values

HEX#412CA2
RGBrgb(65, 44, 162)
HSLhsl(251, 57%, 40%)
HSVhsv(251, 73%, 64%)
CMYKcmyk(59.9%, 72.8%, 0%, 36.5%)
CIE-LABlab(28.20, 42.32, -60.45)
CIE-LCHlch(28.20, 73.79, 305.00°)
OKLaboklab(39.95% 0.0398 -0.1742)
OKLCHoklch(39.95% 0.179 282.9)
XYZxyz(9.6002, 5.5332, 34.7375)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CA2 #8DA22C
analogous
#2C52A2 #412CA2 #7C2CA2
triadic
#412CA2 #A2412C #2CA241
tetradic
#412CA2 #A22C52 #8DA22C #2CA27C
square
#412CA2 #A22C52 #8DA22C #2CA27C
split-complementary
#412CA2 #A27C2C #52A22C
monochromatic
#1A1242 #2E1F72 #412CA2 #5940CB #8370D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412CA2#FFFFFF#000000##FFFFFF
##412CA21.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)
#0046A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #412ca2;
/* rgb */ color: rgb(65, 44, 162);
/* oklch */ color: oklch(40.0% 0.179 282.9);
Tailwind
colors: {
  custom: {
    50: '#8167bf',
    500: '#412ca2',
    950: '#000000',
  },
}
SCSS
$custom: #412ca2;
$custom-light: #8167bf;
$custom-dark: #000000;
JSON
{
  "hex": "#412ca2",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 250.678,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39953,
    "c": 0.17865,
    "h": 282.9
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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