#412893#412893

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

Color values

HEX#412893
RGBrgb(65, 40, 147)
HSLhsl(254, 57%, 37%)
HSVhsv(254, 73%, 58%)
CMYKcmyk(55.8%, 72.8%, 0%, 42.4%)
CIE-LABlab(26.00, 39.92, -54.89)
CIE-LCHlch(26.00, 67.87, 306.03°)
OKLaboklab(37.96% 0.0463 -0.1579)
OKLCHoklch(37.96% 0.165 286.3)
XYZxyz(8.2036, 4.7475, 28.0822)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412893 #7A9328
analogous
#284593 #412893 #772893
triadic
#412893 #934128 #289341
tetradic
#412893 #932845 #7A9328 #289377
square
#412893 #932845 #7A9328 #289377
split-complementary
#412893 #937728 #459328
monochromatic
#160E33 #2C1B63 #412893 #5635C3 #7C61D4

Accessibility & contrast

On white

10.77
#412893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#412893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412893
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412893#FFFFFF#000000##FFFFFF
##4128931.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#1D455B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412893;
/* rgb */ color: rgb(65, 40, 147);
/* oklch */ color: oklch(38.0% 0.165 286.3);
Tailwind
colors: {
  custom: {
    50: '#7f64b4',
    500: '#412893',
    950: '#000000',
  },
}
SCSS
$custom: #412893;
$custom-light: #7f64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412893",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 254.019,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37961,
    "c": 0.1645,
    "h": 286.3
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#412893
secondary
#A4BA5D
accent
#E047BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412893

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

Preview Lab → · Contrast checker → · Palette generator →

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