#412255#412255

#412255 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.093 H 310.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#412255
RGBrgb(65, 34, 85)
HSLhsl(276, 43%, 23%)
HSVhsv(276, 60%, 33%)
CMYKcmyk(23.5%, 60%, 0%, 66.7%)
CIE-LABlab(19.74, 25.38, -25.27)
CIE-LCHlch(19.74, 35.81, 315.13°)
OKLaboklab(31.88% 0.06 -0.0709)
OKLCHoklch(31.88% 0.093 310.2)
XYZxyz(4.3914, 2.9238, 8.9256)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412255 #365522
analogous
#272255 #412255 #55224F
triadic
#412255 #554122 #225541
tetradic
#412255 #552722 #365522 #224F55
square
#412255 #552722 #365522 #224F55
split-complementary
#412255 #4F5522 #225527
monochromatic
#110916 #201129 #412255 #623381 #8445AC

Accessibility & contrast

On white

13.25
#412255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#412255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412255
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412255#FFFFFF#000000##FFFFFF
##4122551.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122E57
Deuteranopia (green-blind)
#1D3054
Tritanopia (blue-blind)
#3E2B38
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412255;
/* rgb */ color: rgb(65, 34, 85);
/* oklch */ color: oklch(31.9% 0.093 310.2);
Tailwind
colors: {
  custom: {
    50: '#775e85',
    500: '#412255',
    950: '#000000',
  },
}
SCSS
$custom: #412255;
$custom-light: #775e85;
$custom-dark: #000000;
JSON
{
  "hex": "#412255",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 276.471,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31877,
    "c": 0.09283,
    "h": 310.2
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#412255
secondary
#63894A
accent
#D35586
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #412255

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

Preview Lab → · Contrast checker → · Palette generator →

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