#412678#412678

#412678 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.133 H 293.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#412678
RGBrgb(65, 38, 120)
HSLhsl(260, 52%, 31%)
HSVhsv(260, 68%, 47%)
CMYKcmyk(45.8%, 68.3%, 0%, 52.9%)
CIE-LABlab(23.22, 32.88, -42.51)
CIE-LCHlch(23.22, 53.74, 307.72°)
OKLaboklab(35.24% 0.053 -0.1215)
OKLCHoklch(35.24% 0.133 293.6)
XYZxyz(6.2623, 3.8659, 18.1819)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412678 #5D7826
analogous
#263478 #412678 #6A2678
triadic
#412678 #784126 #267841
tetradic
#412678 #782634 #5D7826 #26786A
square
#412678 #782634 #5D7826 #26786A
split-complementary
#412678 #786A26 #347826
monochromatic
#0F091B #28174A #412678 #5A35A6 #7851C8

Accessibility & contrast

On white

11.84
#412678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#412678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412678
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412678#FFFFFF#000000##FFFFFF
##4126781.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#323A4B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412678;
/* rgb */ color: rgb(65, 38, 120);
/* oklch */ color: oklch(35.2% 0.133 293.6);
Tailwind
colors: {
  custom: {
    50: '#7b62a0',
    500: '#412678',
    950: '#000000',
  },
}
SCSS
$custom: #412678;
$custom-light: #7b62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412678",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 259.756,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35238,
    "c": 0.13258,
    "h": 293.6
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#412678
secondary
#8CAA50
accent
#DB4CAC
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #412678

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

Preview Lab → · Contrast checker → · Palette generator →

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