#412674#412674

#412674 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.127 H 294.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#412674
RGBrgb(65, 38, 116)
HSLhsl(261, 51%, 30%)
HSVhsv(261, 67%, 45%)
CMYKcmyk(44%, 67.2%, 0%, 54.5%)
CIE-LABlab(22.90, 31.69, -40.48)
CIE-LCHlch(22.90, 51.41, 308.06°)
OKLaboklab(34.9% 0.0535 -0.1155)
OKLCHoklch(34.9% 0.127 294.9)
XYZxyz(6.0246, 3.7709, 16.9300)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412674 #597426
analogous
#263274 #412674 #682674
triadic
#412674 #744126 #267441
tetradic
#412674 #742632 #597426 #267468
square
#412674 #742632 #597426 #267468
split-complementary
#412674 #746826 #327426
monochromatic
#0D0818 #271746 #412674 #5B35A2 #784FC5

Accessibility & contrast

On white

11.97
#412674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#412674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412674
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412674#FFFFFF#000000##FFFFFF
##4126741.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#333849
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412674;
/* rgb */ color: rgb(65, 38, 116);
/* oklch */ color: oklch(34.9% 0.127 294.9);
Tailwind
colors: {
  custom: {
    50: '#7a629d',
    500: '#412674',
    950: '#000000',
  },
}
SCSS
$custom: #412674;
$custom-light: #7a629d;
$custom-dark: #000000;
JSON
{
  "hex": "#412674",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 260.769,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34902,
    "c": 0.12733,
    "h": 294.9
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#412674
secondary
#88A64F
accent
#DA4EAA
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412674

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

Preview Lab → · Contrast checker → · Palette generator →

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