#412676#412676

#412676 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.130 H 294.2°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#412676
RGBrgb(65, 38, 118)
HSLhsl(260, 51%, 31%)
HSVhsv(260, 68%, 46%)
CMYKcmyk(44.9%, 67.8%, 0%, 53.7%)
CIE-LABlab(23.06, 32.28, -41.50)
CIE-LCHlch(23.06, 52.58, 307.88°)
OKLaboklab(35.07% 0.0533 -0.1185)
OKLCHoklch(35.07% 0.13 294.2)
XYZxyz(6.1422, 3.8179, 17.5493)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412676 #5B7626
analogous
#263376 #412676 #692676
triadic
#412676 #764126 #267641
tetradic
#412676 #762633 #5B7626 #267669
square
#412676 #762633 #5B7626 #267669
split-complementary
#412676 #766926 #337626
monochromatic
#0E0819 #271748 #412676 #5A35A4 #7850C7

Accessibility & contrast

On white

11.91
#412676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#412676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412676
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412676#FFFFFF#000000##FFFFFF
##4126761.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#32394A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412676;
/* rgb */ color: rgb(65, 38, 118);
/* oklch */ color: oklch(35.1% 0.130 294.2);
Tailwind
colors: {
  custom: {
    50: '#7a629e',
    500: '#412676',
    950: '#000000',
  },
}
SCSS
$custom: #412676;
$custom-light: #7a629e;
$custom-dark: #000000;
JSON
{
  "hex": "#412676",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 260.25,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35069,
    "c": 0.12996,
    "h": 294.2
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#412676
secondary
#8AA84F
accent
#DB4DAB
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412676

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

Preview Lab → · Contrast checker → · Palette generator →

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