#412055#412055

#412055 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.096 H 310.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#412055
RGBrgb(65, 32, 85)
HSLhsl(277, 45%, 23%)
HSVhsv(277, 62%, 33%)
CMYKcmyk(23.5%, 62.4%, 0%, 66.7%)
CIE-LABlab(19.28, 26.60, -26.00)
CIE-LCHlch(19.28, 37.19, 315.65°)
OKLaboklab(31.54% 0.063 -0.073)
OKLCHoklch(31.54% 0.096 310.8)
XYZxyz(4.3359, 2.8128, 8.9071)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412055 #345520
analogous
#262055 #412055 #55204E
triadic
#412055 #554120 #205541
tetradic
#412055 #552620 #345520 #204E55
square
#412055 #552620 #345520 #204E55
split-complementary
#412055 #4E5520 #205526
monochromatic
#110816 #1F0F29 #412055 #633181 #8541AE

Accessibility & contrast

On white

13.44
#412055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#412055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412055
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412055#FFFFFF#000000##FFFFFF
##4120551.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2D57
Deuteranopia (green-blind)
#1B2F54
Tritanopia (blue-blind)
#3F2A37
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412055;
/* rgb */ color: rgb(65, 32, 85);
/* oklch */ color: oklch(31.5% 0.096 310.8);
Tailwind
colors: {
  custom: {
    50: '#775d85',
    500: '#412055',
    950: '#000000',
  },
}
SCSS
$custom: #412055;
$custom-light: #775d85;
$custom-dark: #000000;
JSON
{
  "hex": "#412055",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 85
  },
  "hsl": {
    "h": 277.358,
    "s": 45.299,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31541,
    "c": 0.09643,
    "h": 310.8
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#412055
secondary
#608A47
accent
#D55384
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412055

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

Preview Lab → · Contrast checker → · Palette generator →

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