#412464#412464

#412464 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.3% C 0.109 H 301.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#412464
RGBrgb(65, 36, 100)
HSLhsl(267, 47%, 27%)
HSVhsv(267, 64%, 39%)
CMYKcmyk(35%, 64%, 0%, 60.8%)
CIE-LABlab(21.23, 28.25, -32.82)
CIE-LCHlch(21.23, 43.30, 310.72°)
OKLaboklab(33.3% 0.0572 -0.093)
OKLCHoklch(33.3% 0.109 301.6)
XYZxyz(5.1106, 3.3057, 12.4229)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412464 #476424
analogous
#242764 #412464 #612464
triadic
#412464 #644124 #246441
tetradic
#412464 #642427 #476424 #246461
square
#412464 #642427 #476424 #246461
split-complementary
#412464 #646124 #276424
monochromatic
#0F0817 #241437 #412464 #5E3491 #7C46BC

Accessibility & contrast

On white

12.64
#412464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#412464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412464
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412464#FFFFFF#000000##FFFFFF
##4124641.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023366
Deuteranopia (green-blind)
#113363
Tritanopia (blue-blind)
#3A3140
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412464;
/* rgb */ color: rgb(65, 36, 100);
/* oklch */ color: oklch(33.3% 0.109 301.6);
Tailwind
colors: {
  custom: {
    50: '#786091',
    500: '#412464',
    950: '#000000',
  },
}
SCSS
$custom: #412464;
$custom-light: #786091;
$custom-dark: #000000;
JSON
{
  "hex": "#412464",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 100
  },
  "hsl": {
    "h": 267.188,
    "s": 47.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33302,
    "c": 0.10921,
    "h": 301.6
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#412464
secondary
#75974C
accent
#D7519A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050D
muted
#7B797D

Preview Lab

Preview with #412464

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

Preview Lab → · Contrast checker → · Palette generator →

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