#412461#412461

#412461 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.1% C 0.105 H 303.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#412461
RGBrgb(65, 36, 97)
HSLhsl(269, 46%, 26%)
HSVhsv(269, 63%, 38%)
CMYKcmyk(33%, 62.9%, 0%, 62%)
CIE-LABlab(21.01, 27.41, -31.19)
CIE-LCHlch(21.01, 41.52, 311.30°)
OKLaboklab(33.08% 0.0573 -0.0882)
OKLCHoklch(33.08% 0.105 303)
XYZxyz(4.9680, 3.2486, 11.6723)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412461 #446124
analogous
#242561 #412461 #5F2461
triadic
#412461 #614124 #246141
tetradic
#412461 #612425 #446124 #24615F
square
#412461 #612425 #446124 #24615F
split-complementary
#412461 #615F24 #256124
monochromatic
#0F0816 #231334 #412461 #5F358E #7D45BA

Accessibility & contrast

On white

12.73
#412461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#412461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412461
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412461#FFFFFF#000000##FFFFFF
##4124611.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073263
Deuteranopia (green-blind)
#153260
Tritanopia (blue-blind)
#3B303E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412461;
/* rgb */ color: rgb(65, 36, 97);
/* oklch */ color: oklch(33.1% 0.105 303.0);
Tailwind
colors: {
  custom: {
    50: '#78608e',
    500: '#412461',
    950: '#000000',
  },
}
SCSS
$custom: #412461;
$custom-light: #78608e;
$custom-dark: #000000;
JSON
{
  "hex": "#412461",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 97
  },
  "hsl": {
    "h": 268.525,
    "s": 45.865,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33076,
    "c": 0.10521,
    "h": 303
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#412461
secondary
#72944C
accent
#D65297
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #412461

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

Preview Lab → · Contrast checker → · Palette generator →

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