#412391#412391

#412391 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.168 H 287.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#412391
RGBrgb(65, 35, 145)
HSLhsl(256, 61%, 35%)
HSVhsv(256, 76%, 57%)
CMYKcmyk(55.2%, 75.9%, 0%, 43.1%)
CIE-LABlab(24.86, 42.00, -55.53)
CIE-LCHlch(24.86, 69.63, 307.10°)
OKLaboklab(37.09% 0.051 -0.1597)
OKLCHoklch(37.09% 0.168 287.7)
XYZxyz(7.8903, 4.3698, 27.2103)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412391 #739123
analogous
#233C91 #412391 #782391
triadic
#412391 #914123 #239141
tetradic
#412391 #91233C #739123 #239178
square
#412391 #91233C #739123 #239178
split-complementary
#412391 #917823 #3C9123
monochromatic
#150B2E #2B1760 #412391 #572FC2 #7A58D7

Accessibility & contrast

On white

11.21
#412391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412391
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412391#FFFFFF#000000##FFFFFF
##4123911.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.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: #412391;
/* rgb */ color: rgb(65, 35, 145);
/* oklch */ color: oklch(37.1% 0.168 287.7);
Tailwind
colors: {
  custom: {
    50: '#7f61b2',
    500: '#412391',
    950: '#000000',
  },
}
SCSS
$custom: #412391;
$custom-light: #7f61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412391",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 256.364,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37093,
    "c": 0.16766,
    "h": 287.7
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#412391
secondary
#9FBB55
accent
#E444B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412391

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

Preview Lab → · Contrast checker → · Palette generator →

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