#412251#412251

#412251 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.6% C 0.088 H 312.9°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#412251
RGBrgb(65, 34, 81)
HSLhsl(280, 41%, 23%)
HSVhsv(280, 58%, 32%)
CMYKcmyk(19.8%, 58%, 0%, 68.2%)
CIE-LABlab(19.48, 24.34, -22.98)
CIE-LCHlch(19.48, 33.48, 316.65°)
OKLaboklab(31.61% 0.0596 -0.0642)
OKLCHoklch(31.61% 0.088 312.9)
XYZxyz(4.2369, 2.8621, 8.1122)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412251 #325122
analogous
#292251 #412251 #51224A
triadic
#412251 #514122 #225141
tetradic
#412251 #512922 #325122 #224A51
square
#412251 #512922 #325122 #224A51
split-complementary
#412251 #4A5122 #225129
monochromatic
#110916 #1E1026 #412251 #64347C #8646A7

Accessibility & contrast

On white

13.36
#412251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412251
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412251#FFFFFF#000000##FFFFFF
##4122511.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E53
Deuteranopia (green-blind)
#203050
Tritanopia (blue-blind)
#3F2A36
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #412251;
/* rgb */ color: rgb(65, 34, 81);
/* oklch */ color: oklch(31.6% 0.088 312.9);
Tailwind
colors: {
  custom: {
    50: '#775e82',
    500: '#412251',
    950: '#000000',
  },
}
SCSS
$custom: #412251;
$custom-light: #775e82;
$custom-dark: #000000;
JSON
{
  "hex": "#412251",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 279.574,
    "s": 40.87,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31609,
    "c": 0.08763,
    "h": 312.9
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#412251
secondary
#5E854A
accent
#D15780
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09040A
muted
#7B797C

Preview Lab

Preview with #412251

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

Preview Lab → · Contrast checker → · Palette generator →

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