#412291#412291

#412291 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.169 H 287.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#412291
RGBrgb(65, 34, 145)
HSLhsl(257, 62%, 35%)
HSVhsv(257, 77%, 57%)
CMYKcmyk(55.2%, 76.6%, 0%, 43.1%)
CIE-LABlab(24.68, 42.52, -55.83)
CIE-LCHlch(24.68, 70.18, 307.29°)
OKLaboklab(36.96% 0.0518 -0.1606)
OKLCHoklch(36.96% 0.169 287.9)
XYZxyz(7.8613, 4.3118, 27.2006)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412291 #729122
analogous
#223A91 #412291 #792291
triadic
#412291 #914122 #229141
tetradic
#412291 #91223A #729122 #229179
square
#412291 #91223A #729122 #229179
split-complementary
#412291 #917922 #3A9122
monochromatic
#150B2E #2B165F #412291 #572EC3 #7A56D7

Accessibility & contrast

On white

11.28
#412291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412291
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412291#FFFFFF#000000##FFFFFF
##4122911.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#204158
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412291;
/* rgb */ color: rgb(65, 34, 145);
/* oklch */ color: oklch(37.0% 0.169 287.9);
Tailwind
colors: {
  custom: {
    50: '#7f61b2',
    500: '#412291',
    950: '#000000',
  },
}
SCSS
$custom: #412291;
$custom-light: #7f61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412291",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 256.757,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36965,
    "c": 0.16872,
    "h": 287.9
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#412291
secondary
#9EBB53
accent
#E543B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412291

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

Preview Lab → · Contrast checker → · Palette generator →

#412291 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva