#412052#412052

#412052 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.3% C 0.093 H 312.7°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#412052
RGBrgb(65, 32, 82)
HSLhsl(280, 44%, 22%)
HSVhsv(280, 61%, 32%)
CMYKcmyk(20.7%, 61%, 0%, 67.8%)
CIE-LABlab(19.08, 25.82, -24.29)
CIE-LCHlch(19.08, 35.45, 316.75°)
OKLaboklab(31.33% 0.0629 -0.068)
OKLCHoklch(31.33% 0.093 312.7)
XYZxyz(4.2192, 2.7661, 8.2927)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412052 #315220
analogous
#282052 #412052 #52204A
triadic
#412052 #524120 #205241
tetradic
#412052 #522820 #315220 #204A52
square
#412052 #522820 #315220 #204A52
split-complementary
#412052 #4A5220 #205228
monochromatic
#110916 #1E0F26 #412052 #64317E #8742AA

Accessibility & contrast

On white

13.52
#412052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#412052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412052
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412052#FFFFFF#000000##FFFFFF
##4120521.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D54
Deuteranopia (green-blind)
#1D2F51
Tritanopia (blue-blind)
#3F2935
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #412052;
/* rgb */ color: rgb(65, 32, 82);
/* oklch */ color: oklch(31.3% 0.093 312.7);
Tailwind
colors: {
  custom: {
    50: '#775d83',
    500: '#412052',
    950: '#000000',
  },
}
SCSS
$custom: #412052;
$custom-light: #775d83;
$custom-dark: #000000;
JSON
{
  "hex": "#412052",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 279.6,
    "s": 43.86,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31334,
    "c": 0.09261,
    "h": 312.7
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#412052
secondary
#5D8647
accent
#D45480
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040A
muted
#7B797C

Preview Lab

Preview with #412052

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

Preview Lab → · Contrast checker → · Palette generator →

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