#412290#412290

#412290 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.168 H 288.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#412290
RGBrgb(65, 34, 144)
HSLhsl(257, 62%, 35%)
HSVhsv(257, 76%, 56%)
CMYKcmyk(54.9%, 76.4%, 0%, 43.5%)
CIE-LABlab(24.58, 42.23, -55.37)
CIE-LCHlch(24.58, 69.63, 307.33°)
OKLaboklab(36.87% 0.0521 -0.1592)
OKLCHoklch(36.87% 0.168 288.1)
XYZxyz(7.7846, 4.2811, 26.7963)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412290 #719022
analogous
#223A90 #412290 #782290
triadic
#412290 #904122 #229041
tetradic
#412290 #90223A #719022 #229078
square
#412290 #90223A #719022 #229078
split-complementary
#412290 #907822 #3A9022
monochromatic
#140B2D #2B165E #412290 #572EC2 #7A55D7

Accessibility & contrast

On white

11.31
#412290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412290
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412290#FFFFFF#000000##FFFFFF
##4122901.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412290;
/* rgb */ color: rgb(65, 34, 144);
/* oklch */ color: oklch(36.9% 0.168 288.1);
Tailwind
colors: {
  custom: {
    50: '#7f61b2',
    500: '#412290',
    950: '#000000',
  },
}
SCSS
$custom: #412290;
$custom-light: #7f61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412290",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 256.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36868,
    "c": 0.16752,
    "h": 288.1
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412290

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

Preview Lab → · Contrast checker → · Palette generator →

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