#412552#412552

#412552 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.2% C 0.083 H 311.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#412552
RGBrgb(65, 37, 82)
HSLhsl(277, 38%, 23%)
HSVhsv(277, 55%, 32%)
CMYKcmyk(20.7%, 54.9%, 0%, 67.8%)
CIE-LABlab(20.27, 22.72, -22.41)
CIE-LCHlch(20.27, 31.91, 315.39°)
OKLaboklab(32.21% 0.0549 -0.0626)
OKLCHoklch(32.21% 0.083 311.3)
XYZxyz(4.3643, 3.0562, 8.3410)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412552 #365225
analogous
#2A2552 #412552 #52254C
triadic
#412552 #524125 #255241
tetradic
#412552 #522A25 #365225 #254C52
square
#412552 #522A25 #365225 #254C52
split-complementary
#412552 #4C5225 #25522A
monochromatic
#110A15 #201228 #412552 #62387C #844BA6

Accessibility & contrast

On white

13.03
#412552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#412552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412552
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412552#FFFFFF#000000##FFFFFF
##4125521.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2F54
Deuteranopia (green-blind)
#223151
Tritanopia (blue-blind)
#3F2C37
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412552;
/* rgb */ color: rgb(65, 37, 82);
/* oklch */ color: oklch(32.2% 0.083 311.3);
Tailwind
colors: {
  custom: {
    50: '#776083',
    500: '#412552',
    950: '#000000',
  },
}
SCSS
$custom: #412552;
$custom-light: #776083;
$custom-dark: #000000;
JSON
{
  "hex": "#412552",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 277.333,
    "s": 37.815,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32209,
    "c": 0.08325,
    "h": 311.3
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#412552
secondary
#63854D
accent
#CE5A86
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09050A
muted
#7B797C

Preview Lab

Preview with #412552

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

Preview Lab → · Contrast checker → · Palette generator →

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