#412751#412751

#412751 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.5% C 0.078 H 311.3°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#412751
RGBrgb(65, 39, 81)
HSLhsl(277, 35%, 24%)
HSVhsv(277, 52%, 32%)
CMYKcmyk(19.8%, 51.9%, 0%, 68.2%)
CIE-LABlab(20.71, 21.18, -21.04)
CIE-LCHlch(20.71, 29.85, 315.18°)
OKLaboklab(32.52% 0.0515 -0.0586)
OKLCHoklch(32.52% 0.078 311.3)
XYZxyz(4.3904, 3.1690, 8.1634)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412751 #375127
analogous
#2C2751 #412751 #51274C
triadic
#412751 #514127 #275141
tetradic
#412751 #512C27 #375127 #274C51
square
#412751 #512C27 #375127 #274C51
split-complementary
#412751 #4C5127 #27512C
monochromatic
#110A15 #201328 #412751 #623B7A #834FA4

Accessibility & contrast

On white

12.85
#412751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#412751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412751
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412751#FFFFFF#000000##FFFFFF
##4127511.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3152
Deuteranopia (green-blind)
#253250
Tritanopia (blue-blind)
#3F2E38
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412751;
/* rgb */ color: rgb(65, 39, 81);
/* oklch */ color: oklch(32.5% 0.078 311.3);
Tailwind
colors: {
  custom: {
    50: '#776282',
    500: '#412751',
    950: '#000000',
  },
}
SCSS
$custom: #412751;
$custom-light: #776282;
$custom-dark: #000000;
JSON
{
  "hex": "#412751",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 277.143,
    "s": 35,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32517,
    "c": 0.07802,
    "h": 311.3
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#412751
secondary
#648450
accent
#CB5D87
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#09050A
muted
#7B797C

Preview Lab

Preview with #412751

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

Preview Lab → · Contrast checker → · Palette generator →

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