#412561#412561

#412561 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.2% C 0.104 H 302.7°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#412561
RGBrgb(65, 37, 97)
HSLhsl(268, 45%, 26%)
HSVhsv(268, 62%, 38%)
CMYKcmyk(33%, 61.9%, 0%, 62%)
CIE-LABlab(21.24, 26.79, -30.82)
CIE-LCHlch(21.24, 40.84, 311.00°)
OKLaboklab(33.25% 0.0559 -0.0871)
OKLCHoklch(33.25% 0.104 302.7)
XYZxyz(4.9987, 3.3100, 11.6825)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412561 #456125
analogous
#252761 #412561 #5F2561
triadic
#412561 #614125 #256141
tetradic
#412561 #612527 #456125 #25615F
square
#412561 #612527 #456125 #25615F
split-complementary
#412561 #615F25 #276125
monochromatic
#0F0816 #231435 #412561 #5F368D #7C47B9

Accessibility & contrast

On white

12.64
#412561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#412561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412561
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412561#FFFFFF#000000##FFFFFF
##4125611.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3263
Deuteranopia (green-blind)
#163360
Tritanopia (blue-blind)
#3B313F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412561;
/* rgb */ color: rgb(65, 37, 97);
/* oklch */ color: oklch(33.2% 0.104 302.7);
Tailwind
colors: {
  custom: {
    50: '#78618e',
    500: '#412561',
    950: '#000000',
  },
}
SCSS
$custom: #412561;
$custom-light: #78618e;
$custom-dark: #000000;
JSON
{
  "hex": "#412561",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 97
  },
  "hsl": {
    "h": 268,
    "s": 44.776,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33245,
    "c": 0.10353,
    "h": 302.7
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#412561
secondary
#73944E
accent
#D45398
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #412561

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

Preview Lab → · Contrast checker → · Palette generator →

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