#412994#412994

#412994 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.165 H 285.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#412994
RGBrgb(65, 41, 148)
HSLhsl(253, 57%, 37%)
HSVhsv(253, 72%, 58%)
CMYKcmyk(56.1%, 72.3%, 0%, 42%)
CIE-LABlab(26.30, 39.67, -55.03)
CIE-LCHlch(26.30, 67.83, 305.79°)
OKLaboklab(38.2% 0.0452 -0.1583)
OKLCHoklch(38.2% 0.165 285.9)
XYZxyz(8.3166, 4.8474, 28.5086)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412994 #7C9429
analogous
#294794 #412994 #772994
triadic
#412994 #944129 #299441
tetradic
#412994 #942947 #7C9429 #299477
square
#412994 #942947 #7C9429 #299477
split-complementary
#412994 #947729 #479429
monochromatic
#170E34 #2C1C64 #412994 #5636C4 #7D63D4

Accessibility & contrast

On white

10.66
#412994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#412994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412994
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412994#FFFFFF#000000##FFFFFF
##4129941.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#1C455B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412994;
/* rgb */ color: rgb(65, 41, 148);
/* oklch */ color: oklch(38.2% 0.165 285.9);
Tailwind
colors: {
  custom: {
    50: '#7f65b4',
    500: '#412994',
    950: '#000000',
  },
}
SCSS
$custom: #412994;
$custom-light: #7f65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412994",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 253.458,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38197,
    "c": 0.1646,
    "h": 285.9
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#412994
secondary
#A5BA5F
accent
#E048BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412994

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

Preview Lab → · Contrast checker → · Palette generator →

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