#412677#412677

#412677 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.131 H 293.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#412677
RGBrgb(65, 38, 119)
HSLhsl(260, 52%, 31%)
HSVhsv(260, 68%, 47%)
CMYKcmyk(45.4%, 68.1%, 0%, 53.3%)
CIE-LABlab(23.14, 32.58, -42.00)
CIE-LCHlch(23.14, 53.16, 307.80°)
OKLaboklab(35.15% 0.0532 -0.12)
OKLCHoklch(35.15% 0.131 293.9)
XYZxyz(6.2020, 3.8418, 17.8640)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412677 #5C7726
analogous
#263377 #412677 #692677
triadic
#412677 #774126 #267741
tetradic
#412677 #772633 #5C7726 #267769
square
#412677 #772633 #5C7726 #267769
split-complementary
#412677 #776926 #337726
monochromatic
#0E081A #281749 #412677 #5A35A5 #7850C7

Accessibility & contrast

On white

11.88
#412677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412677
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412677#FFFFFF#000000##FFFFFF
##4126771.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387A
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#32394B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412677;
/* rgb */ color: rgb(65, 38, 119);
/* oklch */ color: oklch(35.2% 0.131 293.9);
Tailwind
colors: {
  custom: {
    50: '#7b629f',
    500: '#412677',
    950: '#000000',
  },
}
SCSS
$custom: #412677;
$custom-light: #7b629f;
$custom-dark: #000000;
JSON
{
  "hex": "#412677",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 119
  },
  "hsl": {
    "h": 260,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35154,
    "c": 0.13127,
    "h": 293.9
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#412677
secondary
#8BA94F
accent
#DB4DAC
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412677

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

Preview Lab → · Contrast checker → · Palette generator →

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