#412690#412690

#412690 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.163 H 287.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#412690
RGBrgb(65, 38, 144)
HSLhsl(255, 58%, 36%)
HSVhsv(255, 74%, 56%)
CMYKcmyk(54.9%, 73.6%, 0%, 43.5%)
CIE-LABlab(25.33, 40.11, -54.14)
CIE-LCHlch(25.33, 67.37, 306.53°)
OKLaboklab(37.4% 0.0487 -0.1556)
OKLCHoklch(37.4% 0.163 287.4)
XYZxyz(7.9056, 4.5233, 26.8367)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412690 #759026
analogous
#264090 #412690 #762690
triadic
#412690 #904126 #269041
tetradic
#412690 #902640 #759026 #269076
square
#412690 #902640 #759026 #269076
split-complementary
#412690 #907626 #409026
monochromatic
#150C2F #2B1960 #412690 #5733C0 #7B5CD4

Accessibility & contrast

On white

11.02
#412690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412690
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412690#FFFFFF#000000##FFFFFF
##4126901.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#214258
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412690;
/* rgb */ color: rgb(65, 38, 144);
/* oklch */ color: oklch(37.4% 0.163 287.4);
Tailwind
colors: {
  custom: {
    50: '#7e63b1',
    500: '#412690',
    950: '#000000',
  },
}
SCSS
$custom: #412690;
$custom-light: #7e63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#412690",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 255.283,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37398,
    "c": 0.16308,
    "h": 287.4
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#412690
secondary
#A1B959
accent
#E146BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412690

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

Preview Lab → · Contrast checker → · Palette generator →

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