#412190#412190

#412190 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.169 H 288.3°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#412190
RGBrgb(65, 33, 144)
HSLhsl(257, 63%, 35%)
HSVhsv(257, 77%, 56%)
CMYKcmyk(54.9%, 77.1%, 0%, 43.5%)
CIE-LABlab(24.40, 42.73, -55.66)
CIE-LCHlch(24.40, 70.17, 307.51°)
OKLaboklab(36.74% 0.0529 -0.1601)
OKLCHoklch(36.74% 0.169 288.3)
XYZxyz(7.7564, 4.2248, 26.7869)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412190 #709021
analogous
#213990 #412190 #782190
triadic
#412190 #904121 #219041
tetradic
#412190 #902139 #709021 #219078
square
#412190 #902139 #709021 #219078
split-complementary
#412190 #907821 #399021
monochromatic
#140A2C #2B165E #412190 #572CC2 #7A54D8

Accessibility & contrast

On white

11.38
#412190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412190
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412190#FFFFFF#000000##FFFFFF
##4121901.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412190;
/* rgb */ color: rgb(65, 33, 144);
/* oklch */ color: oklch(36.7% 0.169 288.3);
Tailwind
colors: {
  custom: {
    50: '#7f60b2',
    500: '#412190',
    950: '#000000',
  },
}
SCSS
$custom: #412190;
$custom-light: #7f60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412190",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 257.297,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36742,
    "c": 0.16859,
    "h": 288.3
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#412190
secondary
#9DBB51
accent
#E642B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412190

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

Preview Lab → · Contrast checker → · Palette generator →

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