#412992#412992

#412992 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.162 H 286.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#412992
RGBrgb(65, 41, 146)
HSLhsl(254, 56%, 37%)
HSVhsv(254, 72%, 57%)
CMYKcmyk(55.5%, 71.9%, 0%, 42.7%)
CIE-LABlab(26.11, 39.05, -54.09)
CIE-LCHlch(26.11, 66.72, 305.83°)
OKLaboklab(38.01% 0.0456 -0.1555)
OKLCHoklch(38.01% 0.162 286.3)
XYZxyz(8.1597, 4.7846, 27.6821)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412992 #7A9229
analogous
#294692 #412992 #762992
triadic
#412992 #924129 #299241
tetradic
#412992 #922946 #7A9229 #299276
square
#412992 #922946 #7A9229 #299276
split-complementary
#412992 #927629 #469229
monochromatic
#160E32 #2C1C62 #412992 #5636C2 #7C62D3

Accessibility & contrast

On white

10.73
#412992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#412992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412992
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412992#FFFFFF#000000##FFFFFF
##4129921.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#1E455A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412992;
/* rgb */ color: rgb(65, 41, 146);
/* oklch */ color: oklch(38.0% 0.162 286.3);
Tailwind
colors: {
  custom: {
    50: '#7e65b3',
    500: '#412992',
    950: '#000000',
  },
}
SCSS
$custom: #412992;
$custom-light: #7e65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412992",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 253.714,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3801,
    "c": 0.16208,
    "h": 286.3
  },
  "luminance": 0.04785
}

Semantic roles & 50–950 ramp

primary
#412992
secondary
#A4B95E
accent
#DF48BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412992

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

Preview Lab → · Contrast checker → · Palette generator →

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