#412451#412451

#412451 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.0% C 0.084 H 312.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#412451
RGBrgb(65, 36, 81)
HSLhsl(279, 38%, 23%)
HSVhsv(279, 56%, 32%)
CMYKcmyk(19.8%, 55.6%, 0%, 68.2%)
CIE-LABlab(19.96, 23.09, -22.22)
CIE-LCHlch(19.96, 32.05, 316.10°)
OKLaboklab(31.96% 0.0564 -0.062)
OKLCHoklch(31.96% 0.084 312.3)
XYZxyz(4.2958, 2.9797, 8.1318)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412451 #345124
analogous
#2A2451 #412451 #51244A
triadic
#412451 #514124 #245141
tetradic
#412451 #512A24 #345124 #244A51
square
#412451 #512A24 #345124 #244A51
split-complementary
#412451 #4A5124 #24512A
monochromatic
#110915 #1F1127 #412451 #63377B #854AA6

Accessibility & contrast

On white

13.16
#412451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#412451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412451
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412451#FFFFFF#000000##FFFFFF
##4124511.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F53
Deuteranopia (green-blind)
#223150
Tritanopia (blue-blind)
#3F2B36
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #412451;
/* rgb */ color: rgb(65, 36, 81);
/* oklch */ color: oklch(32.0% 0.084 312.3);
Tailwind
colors: {
  custom: {
    50: '#776082',
    500: '#412451',
    950: '#000000',
  },
}
SCSS
$custom: #412451;
$custom-light: #776082;
$custom-dark: #000000;
JSON
{
  "hex": "#412451",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 278.667,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31963,
    "c": 0.08384,
    "h": 312.3
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#412451
secondary
#60854C
accent
#CE5983
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09050A
muted
#7B797C

Preview Lab

Preview with #412451

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

Preview Lab → · Contrast checker → · Palette generator →

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