#412B9F#412B9F

#412B9F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.176 H 283.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#412B9F
RGBrgb(65, 43, 159)
HSLhsl(251, 57%, 40%)
HSVhsv(251, 73%, 62%)
CMYKcmyk(59.1%, 73%, 0%, 37.6%)
CIE-LABlab(27.72, 41.95, -59.42)
CIE-LCHlch(27.72, 72.73, 305.22°)
OKLaboklab(39.53% 0.0412 -0.1711)
OKLCHoklch(39.53% 0.176 283.5)
XYZxyz(9.2999, 5.3542, 33.3376)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B9F #899F2B
analogous
#2B4F9F #412B9F #7B2B9F
triadic
#412B9F #9F412B #2B9F41
tetradic
#412B9F #9F2B4F #899F2B #2B9F7B
square
#412B9F #9F2B4F #899F2B #2B9F7B
split-complementary
#412B9F #9F7B2B #4F9F2B
monochromatic
#1A113F #2D1E6F #412B9F #583DCA #816DD7

Accessibility & contrast

On white

10.14
#412B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#412B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B9F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B9F#FFFFFF#000000##FFFFFF
##412B9F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#084B62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412b9f;
/* rgb */ color: rgb(65, 43, 159);
/* oklch */ color: oklch(39.5% 0.176 283.5);
Tailwind
colors: {
  custom: {
    50: '#8167bc',
    500: '#412b9f',
    950: '#000000',
  },
}
SCSS
$custom: #412b9f;
$custom-light: #8167bc;
$custom-dark: #000000;
JSON
{
  "hex": "#412b9f",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 251.379,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39525,
    "c": 0.17604,
    "h": 283.5
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#412B9F
secondary
#AEBE67
accent
#E147C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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