#412CA7#412CA7

#412CA7 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.185 H 282.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#412CA7
RGBrgb(65, 44, 167)
HSLhsl(250, 58%, 41%)
HSVhsv(250, 74%, 65%)
CMYKcmyk(61.1%, 73.7%, 0%, 34.5%)
CIE-LABlab(28.68, 43.87, -62.69)
CIE-LCHlch(28.68, 76.52, 304.99°)
OKLaboklab(40.44% 0.0387 -0.1807)
OKLCHoklch(40.44% 0.185 282.1)
XYZxyz(10.0535, 5.7145, 37.1250)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CA7 #92A72C
analogous
#2C55A7 #412CA7 #7F2CA7
triadic
#412CA7 #A7412C #2CA741
tetradic
#412CA7 #A72C55 #92A72C #2CA77F
square
#412CA7 #A72C55 #92A72C #2CA77F
split-complementary
#412CA7 #A77F2C #55A72C
monochromatic
#1B1246 #2E1F77 #412CA7 #5A43CD #8573DA

Accessibility & contrast

On white

9.80
#412CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#412CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CA7
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CA7#FFFFFF#000000##FFFFFF
##412CA71.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412ca7;
/* rgb */ color: rgb(65, 44, 167);
/* oklch */ color: oklch(40.4% 0.185 282.1);
Tailwind
colors: {
  custom: {
    50: '#8268c2',
    500: '#412ca7',
    950: '#000000',
  },
}
SCSS
$custom: #412ca7;
$custom-light: #8268c2;
$custom-dark: #000000;
JSON
{
  "hex": "#412ca7",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 250.244,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.18482,
    "h": 282.1
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#412CA7
secondary
#B3C26D
accent
#E246C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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