#412155#412155

#412155 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.7% C 0.095 H 310.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#412155
RGBrgb(65, 33, 85)
HSLhsl(277, 44%, 23%)
HSVhsv(277, 61%, 33%)
CMYKcmyk(23.5%, 61.2%, 0%, 66.7%)
CIE-LABlab(19.51, 25.99, -25.63)
CIE-LCHlch(19.51, 36.50, 315.40°)
OKLaboklab(31.71% 0.0615 -0.0719)
OKLCHoklch(31.71% 0.095 310.5)
XYZxyz(4.3632, 2.8675, 8.9162)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412155 #355521
analogous
#272155 #412155 #55214F
triadic
#412155 #554121 #215541
tetradic
#412155 #552721 #355521 #214F55
square
#412155 #552721 #355521 #214F55
split-complementary
#412155 #4F5521 #215527
monochromatic
#110916 #1F1029 #412155 #633281 #8443AD

Accessibility & contrast

On white

13.35
#412155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#412155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412155
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412155#FFFFFF#000000##FFFFFF
##4121551.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E57
Deuteranopia (green-blind)
#1C3054
Tritanopia (blue-blind)
#3F2A37
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412155;
/* rgb */ color: rgb(65, 33, 85);
/* oklch */ color: oklch(31.7% 0.095 310.5);
Tailwind
colors: {
  custom: {
    50: '#775e85',
    500: '#412155',
    950: '#000000',
  },
}
SCSS
$custom: #412155;
$custom-light: #775e85;
$custom-dark: #000000;
JSON
{
  "hex": "#412155",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 276.923,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31708,
    "c": 0.09464,
    "h": 310.5
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#412155
secondary
#618949
accent
#D45485
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412155

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

Preview Lab → · Contrast checker → · Palette generator →

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