#412490#412490

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

Color values

HEX#412490
RGBrgb(65, 36, 144)
HSLhsl(256, 60%, 35%)
HSVhsv(256, 75%, 56%)
CMYKcmyk(54.9%, 75%, 0%, 43.5%)
CIE-LABlab(24.95, 41.18, -54.76)
CIE-LCHlch(24.95, 68.52, 306.94°)
OKLaboklab(37.13% 0.0504 -0.1575)
OKLCHoklch(37.13% 0.165 287.7)
XYZxyz(7.8434, 4.3988, 26.8159)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412490 #739024
analogous
#243D90 #412490 #772490
triadic
#412490 #904124 #249041
tetradic
#412490 #90243D #739024 #249077
square
#412490 #90243D #739024 #249077
split-complementary
#412490 #907724 #3D9024
monochromatic
#150C2E #2B185F #412490 #5730C1 #7A59D5

Accessibility & contrast

On white

11.17
#412490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412490
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412490#FFFFFF#000000##FFFFFF
##4124901.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#214158
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412490;
/* rgb */ color: rgb(65, 36, 144);
/* oklch */ color: oklch(37.1% 0.165 287.7);
Tailwind
colors: {
  custom: {
    50: '#7f62b2',
    500: '#412490',
    950: '#000000',
  },
}
SCSS
$custom: #412490;
$custom-light: #7f62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412490",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 256.111,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37128,
    "c": 0.16535,
    "h": 287.7
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#412490
secondary
#9FBA56
accent
#E345B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412490

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

Preview Lab → · Contrast checker → · Palette generator →

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