#412990#412990

#412990 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.160 H 286.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#412990
RGBrgb(65, 41, 144)
HSLhsl(254, 56%, 36%)
HSVhsv(254, 72%, 56%)
CMYKcmyk(54.9%, 71.5%, 0%, 43.5%)
CIE-LABlab(25.93, 38.44, -53.15)
CIE-LCHlch(25.93, 65.60, 305.87°)
OKLaboklab(37.82% 0.046 -0.1528)
OKLCHoklch(37.82% 0.16 286.8)
XYZxyz(8.0055, 4.7229, 26.8699)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412990 #789029
analogous
#294590 #412990 #752990
triadic
#412990 #904129 #299041
tetradic
#412990 #902945 #789029 #299075
square
#412990 #902945 #789029 #299075
split-complementary
#412990 #907529 #459029
monochromatic
#160E31 #2B1B60 #412990 #5737C0 #7C61D2

Accessibility & contrast

On white

10.80
#412990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#412990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412990
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412990#FFFFFF#000000##FFFFFF
##4129901.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#204459
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412990;
/* rgb */ color: rgb(65, 41, 144);
/* oklch */ color: oklch(37.8% 0.160 286.8);
Tailwind
colors: {
  custom: {
    50: '#7e65b1',
    500: '#412990',
    950: '#000000',
  },
}
SCSS
$custom: #412990;
$custom-light: #7e65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#412990",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 253.981,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37825,
    "c": 0.15956,
    "h": 286.8
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#412990
secondary
#A3B85D
accent
#DF49BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412990

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

Preview Lab → · Contrast checker → · Palette generator →

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