#412F9A#412F9A

#412F9A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.165 H 283.6°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#412F9A
RGBrgb(65, 47, 154)
HSLhsl(250, 53%, 39%)
HSVhsv(250, 69%, 60%)
CMYKcmyk(57.8%, 69.5%, 0%, 39.6%)
CIE-LABlab(28.09, 38.10, -55.77)
CIE-LCHlch(28.09, 67.55, 304.34°)
OKLaboklab(39.65% 0.0388 -0.1605)
OKLCHoklch(39.65% 0.165 283.6)
XYZxyz(9.0274, 5.4894, 31.1494)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F9A #889A2F
analogous
#2F539A #412F9A #762F9A
triadic
#412F9A #9A412F #2F9A41
tetradic
#412F9A #9A2F53 #889A2F #2F9A76
square
#412F9A #9A2F53 #889A2F #2F9A76
split-complementary
#412F9A #9A762F #539A2F
monochromatic
#19123C #2D216B #412F9A #5741C5 #8170D3

Accessibility & contrast

On white

10.01
#412F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412F9A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F9A#FFFFFF#000000##FFFFFF
##412F9A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#134B60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412f9a;
/* rgb */ color: rgb(65, 47, 154);
/* oklch */ color: oklch(39.6% 0.165 283.6);
Tailwind
colors: {
  custom: {
    50: '#7f69b9',
    500: '#412f9a',
    950: '#000000',
  },
}
SCSS
$custom: #412f9a;
$custom-light: #7f69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#412f9a",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 250.093,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39645,
    "c": 0.1651,
    "h": 283.6
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#412F9A
secondary
#ADBB6A
accent
#DD4BC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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