#412951#412951

#412951 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 32.9% C 0.074 H 310.6°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#412951
RGBrgb(65, 41, 81)
HSLhsl(276, 33%, 24%)
HSVhsv(276, 49%, 32%)
CMYKcmyk(19.8%, 49.4%, 0%, 68.2%)
CIE-LABlab(21.22, 19.88, -20.24)
CIE-LCHlch(21.22, 28.36, 314.49°)
OKLaboklab(32.9% 0.0482 -0.0563)
OKLCHoklch(32.9% 0.074 310.6)
XYZxyz(4.4578, 3.3038, 8.1859)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412951 #395129
analogous
#2D2951 #412951 #51294D
triadic
#412951 #514129 #295141
tetradic
#412951 #512D29 #395129 #294D51
square
#412951 #512D29 #395129 #294D51
split-complementary
#412951 #4D5129 #29512D
monochromatic
#100A14 #201428 #412951 #623E7A #8252A2

Accessibility & contrast

On white

12.64
#412951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#412951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412951
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412951#FFFFFF#000000##FFFFFF
##4129511.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203252
Deuteranopia (green-blind)
#263350
Tritanopia (blue-blind)
#3F2F39
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412951;
/* rgb */ color: rgb(65, 41, 81);
/* oklch */ color: oklch(32.9% 0.074 310.6);
Tailwind
colors: {
  custom: {
    50: '#766382',
    500: '#412951',
    950: '#000000',
  },
}
SCSS
$custom: #412951;
$custom-light: #766382;
$custom-dark: #000000;
JSON
{
  "hex": "#412951",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 276,
    "s": 32.787,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32901,
    "c": 0.07407,
    "h": 310.6
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#412951
secondary
#668352
accent
#C95F89
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #412951

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

Preview Lab → · Contrast checker → · Palette generator →

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