#412CAA#412CAA

#412CAA is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.188 H 281.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#412CAA
RGBrgb(65, 44, 170)
HSLhsl(250, 59%, 42%)
HSVhsv(250, 74%, 67%)
CMYKcmyk(61.8%, 74.1%, 0%, 33.3%)
CIE-LABlab(28.97, 44.80, -64.02)
CIE-LCHlch(28.97, 78.14, 304.99°)
OKLaboklab(40.73% 0.038 -0.1846)
OKLCHoklch(40.73% 0.188 281.6)
XYZxyz(10.3341, 5.8267, 38.6025)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CAA #95AA2C
analogous
#2C56AA #412CAA #802CAA
triadic
#412CAA #AA412C #2CAA41
tetradic
#412CAA #AA2C56 #95AA2C #2CAA80
square
#412CAA #AA2C56 #95AA2C #2CAA80
split-complementary
#412CAA #AA802C #56AA2C
monochromatic
#1C1349 #2E1F79 #412CAA #5C44CF #8675DB

Accessibility & contrast

On white

9.70
#412CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#412CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CAA
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CAA#FFFFFF#000000##FFFFFF
##412CAA1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412caa;
/* rgb */ color: rgb(65, 44, 170);
/* oklch */ color: oklch(40.7% 0.188 281.6);
Tailwind
colors: {
  custom: {
    50: '#8368c4',
    500: '#412caa',
    950: '#000000',
  },
}
SCSS
$custom: #412caa;
$custom-light: #8368c4;
$custom-dark: #000000;
JSON
{
  "hex": "#412caa",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 250,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40731,
    "c": 0.18847,
    "h": 281.6
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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