#412CA1#412CA1

#412CA1 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.177 H 283.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#412CA1
RGBrgb(65, 44, 161)
HSLhsl(251, 57%, 40%)
HSVhsv(251, 73%, 63%)
CMYKcmyk(59.6%, 72.7%, 0%, 36.9%)
CIE-LABlab(28.11, 42.01, -60.00)
CIE-LCHlch(28.11, 73.25, 305.00°)
OKLaboklab(39.86% 0.04 -0.1728)
OKLCHoklch(39.86% 0.177 283)
XYZxyz(9.5117, 5.4978, 34.2713)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CA1 #8CA12C
analogous
#2C52A1 #412CA1 #7B2CA1
triadic
#412CA1 #A1412C #2CA141
tetradic
#412CA1 #A12C52 #8CA12C #2CA17B
square
#412CA1 #A12C52 #8CA12C #2CA17B
split-complementary
#412CA1 #A17B2C #52A12C
monochromatic
#1A1241 #2E1F71 #412CA1 #5940CB #8270D8

Accessibility & contrast

On white

10.00
#412CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#412CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CA1
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CA1#FFFFFF#000000##FFFFFF
##412CA11.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#024C63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412ca1;
/* rgb */ color: rgb(65, 44, 161);
/* oklch */ color: oklch(39.9% 0.177 283.0);
Tailwind
colors: {
  custom: {
    50: '#8167be',
    500: '#412ca1',
    950: '#000000',
  },
}
SCSS
$custom: #412ca1;
$custom-light: #8167be;
$custom-dark: #000000;
JSON
{
  "hex": "#412ca1",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 250.769,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39857,
    "c": 0.17742,
    "h": 283
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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