#412090#412090

#412090 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.170 H 288.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#412090
RGBrgb(65, 32, 144)
HSLhsl(258, 64%, 35%)
HSVhsv(258, 78%, 56%)
CMYKcmyk(54.9%, 77.8%, 0%, 43.5%)
CIE-LABlab(24.23, 43.23, -55.95)
CIE-LCHlch(24.23, 70.71, 307.69°)
OKLaboklab(36.62% 0.0536 -0.1609)
OKLCHoklch(36.62% 0.17 288.4)
XYZxyz(7.7290, 4.1701, 26.7778)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412090 #6F9020
analogous
#203790 #412090 #792090
triadic
#412090 #904120 #209041
tetradic
#412090 #902037 #6F9020 #209079
square
#412090 #902037 #6F9020 #209079
split-complementary
#412090 #907920 #379020
monochromatic
#140A2C #2A155E #412090 #582BC2 #7A52D9

Accessibility & contrast

On white

11.45
#412090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412090
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412090#FFFFFF#000000##FFFFFF
##4120901.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#213F57
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412090;
/* rgb */ color: rgb(65, 32, 144);
/* oklch */ color: oklch(36.6% 0.170 288.4);
Tailwind
colors: {
  custom: {
    50: '#7f60b2',
    500: '#412090',
    950: '#000000',
  },
}
SCSS
$custom: #412090;
$custom-light: #7f60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412090",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 257.679,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3662,
    "c": 0.16962,
    "h": 288.4
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#412090
secondary
#9CBC50
accent
#E741B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412090

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

Preview Lab → · Contrast checker → · Palette generator →

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