#412962#412962

#412962 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.0% C 0.098 H 300.7°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#412962
RGBrgb(65, 41, 98)
HSLhsl(265, 41%, 27%)
HSVhsv(265, 58%, 38%)
CMYKcmyk(33.7%, 58.2%, 0%, 61.6%)
CIE-LABlab(22.27, 24.57, -29.83)
CIE-LCHlch(22.27, 38.64, 309.47°)
OKLaboklab(34.02% 0.0501 -0.0843)
OKLCHoklch(34.02% 0.098 300.7)
XYZxyz(5.1770, 3.5915, 11.9734)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412962 #4A6229
analogous
#292E62 #412962 #5E2962
triadic
#412962 #624129 #296241
tetradic
#412962 #62292E #4A6229 #29625E
square
#412962 #62292E #4A6229 #29625E
split-complementary
#412962 #625E29 #2E6229
monochromatic
#0E0916 #241737 #412962 #5E3B8D #7B50B6

Accessibility & contrast

On white

12.22
#412962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#412962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412962
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412962#FFFFFF#000000##FFFFFF
##4129621.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133564
Deuteranopia (green-blind)
#1B3561
Tritanopia (blue-blind)
#3A3441
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412962;
/* rgb */ color: rgb(65, 41, 98);
/* oklch */ color: oklch(34.0% 0.098 300.7);
Tailwind
colors: {
  custom: {
    50: '#78638f',
    500: '#412962',
    950: '#000000',
  },
}
SCSS
$custom: #412962;
$custom-light: #78638f;
$custom-dark: #000000;
JSON
{
  "hex": "#412962",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 98
  },
  "hsl": {
    "h": 265.263,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34022,
    "c": 0.09803,
    "h": 300.7
  },
  "luminance": 0.03592
}

Semantic roles & 50–950 ramp

primary
#412962
secondary
#799552
accent
#D1579E
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050C
muted
#7B7A7D

Preview Lab

Preview with #412962

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

Preview Lab → · Contrast checker → · Palette generator →

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