#412F78#412F78

#412F78 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.7% C 0.119 H 290.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#412F78
RGBrgb(65, 47, 120)
HSLhsl(255, 44%, 33%)
HSVhsv(255, 61%, 47%)
CMYKcmyk(45.8%, 60.8%, 0%, 52.9%)
CIE-LABlab(25.30, 27.35, -39.15)
CIE-LCHlch(25.30, 47.76, 304.94°)
OKLaboklab(36.75% 0.0422 -0.1116)
OKLCHoklch(36.75% 0.119 290.7)
XYZxyz(6.5857, 4.5127, 18.2897)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F78 #66782F
analogous
#2F4178 #412F78 #662F78
triadic
#412F78 #78412F #2F7841
tetradic
#412F78 #782F41 #66782F #2F7866
square
#412F78 #782F41 #66782F #2F7866
split-complementary
#412F78 #78662F #41782F
monochromatic
#110D20 #291E4C #412F78 #5940A4 #7860C1

Accessibility & contrast

On white

11.04
#412F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F78
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F78#FFFFFF#000000##FFFFFF
##412F781.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#043A76
Tritanopia (blue-blind)
#313F4E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412f78;
/* rgb */ color: rgb(65, 47, 120);
/* oklch */ color: oklch(36.7% 0.119 290.7);
Tailwind
colors: {
  custom: {
    50: '#7a689f',
    500: '#412f78',
    950: '#000000',
  },
}
SCSS
$custom: #412f78;
$custom-light: #7a689f;
$custom-dark: #000000;
JSON
{
  "hex": "#412f78",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 254.795,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36749,
    "c": 0.11931,
    "h": 290.7
  },
  "luminance": 0.04513
}

Semantic roles & 50–950 ramp

primary
#412F78
secondary
#95A85B
accent
#D354B4
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #412F78

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

Preview Lab → · Contrast checker → · Palette generator →

#412F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva