#412F90#412F90

#412F90 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.152 H 285.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#412F90
RGBrgb(65, 47, 144)
HSLhsl(251, 51%, 37%)
HSVhsv(251, 67%, 56%)
CMYKcmyk(54.9%, 67.4%, 0%, 43.5%)
CIE-LABlab(27.21, 34.93, -51.06)
CIE-LCHlch(27.21, 61.86, 304.38°)
OKLaboklab(38.75% 0.0403 -0.1466)
OKLCHoklch(38.75% 0.152 285.3)
XYZxyz(8.2290, 5.1700, 26.9445)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F90 #7E902F
analogous
#2F4E90 #412F90 #712F90
triadic
#412F90 #90412F #2F9041
tetradic
#412F90 #902F4E #7E902F #2F9071
square
#412F90 #902F4E #7E902F #2F9071
split-complementary
#412F90 #90712F #4E902F
monochromatic
#171134 #2C2062 #412F90 #563EBE #7D6BCF

Accessibility & contrast

On white

10.32
#412F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#412F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F90
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F90#FFFFFF#000000##FFFFFF
##412F901.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#20475B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412f90;
/* rgb */ color: rgb(65, 47, 144);
/* oklch */ color: oklch(38.7% 0.152 285.3);
Tailwind
colors: {
  custom: {
    50: '#7e69b1',
    500: '#412f90',
    950: '#000000',
  },
}
SCSS
$custom: #412f90;
$custom-light: #7e69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#412f90",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 251.134,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38746,
    "c": 0.15206,
    "h": 285.3
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#412F90
secondary
#A7B665
accent
#DA4EC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412F90

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

Preview Lab → · Contrast checker → · Palette generator →

#412F90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva