#412CA0#412CA0

#412CA0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.176 H 283.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#412CA0
RGBrgb(65, 44, 160)
HSLhsl(251, 57%, 40%)
HSVhsv(251, 73%, 63%)
CMYKcmyk(59.4%, 72.5%, 0%, 37.3%)
CIE-LABlab(28.01, 41.70, -59.55)
CIE-LCHlch(28.01, 72.70, 305.01°)
OKLaboklab(39.76% 0.0402 -0.1715)
OKLCHoklch(39.76% 0.176 283.2)
XYZxyz(9.4239, 5.4626, 33.8087)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CA0 #8BA02C
analogous
#2C51A0 #412CA0 #7B2CA0
triadic
#412CA0 #A0412C #2CA041
tetradic
#412CA0 #A02C51 #8BA02C #2CA07B
square
#412CA0 #A02C51 #8BA02C #2CA07B
split-complementary
#412CA0 #A07B2C #51A02C
monochromatic
#1A1240 #2D1F70 #412CA0 #583FCA #826FD7

Accessibility & contrast

On white

10.04
#412CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#412CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CA0
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CA0#FFFFFF#000000##FFFFFF
##412CA01.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#054B63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412ca0;
/* rgb */ color: rgb(65, 44, 160);
/* oklch */ color: oklch(39.8% 0.176 283.2);
Tailwind
colors: {
  custom: {
    50: '#8167bd',
    500: '#412ca0',
    950: '#000000',
  },
}
SCSS
$custom: #412ca0;
$custom-light: #8167bd;
$custom-dark: #000000;
JSON
{
  "hex": "#412ca0",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 250.862,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.39762,
    "c": 0.17617,
    "h": 283.2
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#412CA0
secondary
#AFBF69
accent
#E048C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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