#412671#412671

#412671 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.123 H 295.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#412671
RGBrgb(65, 38, 113)
HSLhsl(262, 50%, 30%)
HSVhsv(262, 66%, 44%)
CMYKcmyk(42.5%, 66.4%, 0%, 55.7%)
CIE-LABlab(22.66, 30.80, -38.94)
CIE-LCHlch(22.66, 49.65, 308.34°)
OKLaboklab(34.66% 0.0538 -0.111)
OKLCHoklch(34.66% 0.123 295.9)
XYZxyz(5.8529, 3.7022, 16.0258)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412671 #567126
analogous
#263171 #412671 #672671
triadic
#412671 #714126 #267141
tetradic
#412671 #712631 #567126 #267167
square
#412671 #712631 #567126 #267167
split-complementary
#412671 #716726 #317126
monochromatic
#0D0817 #271743 #412671 #5B359F #784EC3

Accessibility & contrast

On white

12.07
#412671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#412671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412671
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412671#FFFFFF#000000##FFFFFF
##4126711.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#353747
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412671;
/* rgb */ color: rgb(65, 38, 113);
/* oklch */ color: oklch(34.7% 0.123 295.9);
Tailwind
colors: {
  custom: {
    50: '#7a629a',
    500: '#412671',
    950: '#000000',
  },
}
SCSS
$custom: #412671;
$custom-light: #7a629a;
$custom-dark: #000000;
JSON
{
  "hex": "#412671",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 261.6,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34655,
    "c": 0.12337,
    "h": 295.9
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#412671
secondary
#85A44F
accent
#D94FA7
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #412671

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

Preview Lab → · Contrast checker → · Palette generator →

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