#412757#412757

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

Color values

HEX#412757
RGBrgb(65, 39, 87)
HSLhsl(273, 38%, 25%)
HSVhsv(273, 55%, 34%)
CMYKcmyk(25.3%, 55.2%, 0%, 65.9%)
CIE-LABlab(21.07, 22.77, -24.49)
CIE-LCHlch(21.07, 33.44, 312.92°)
OKLaboklab(32.9% 0.0523 -0.0686)
OKLCHoklch(32.9% 0.086 307.3)
XYZxyz(4.6254, 3.2630, 9.4011)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412757 #3D5727
analogous
#292757 #412757 #572755
triadic
#412757 #574127 #275741
tetradic
#412757 #572927 #3D5727 #275557
square
#412757 #572927 #3D5727 #275557
split-complementary
#412757 #555727 #275729
monochromatic
#100915 #21142D #412757 #613A81 #804DAC

Accessibility & contrast

On white

12.71
#412757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#412757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412757
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412757#FFFFFF#000000##FFFFFF
##4127571.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193259
Deuteranopia (green-blind)
#213356
Tritanopia (blue-blind)
#3E2F3B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412757;
/* rgb */ color: rgb(65, 39, 87);
/* oklch */ color: oklch(32.9% 0.086 307.3);
Tailwind
colors: {
  custom: {
    50: '#776286',
    500: '#412757',
    950: '#000000',
  },
}
SCSS
$custom: #412757;
$custom-light: #776286;
$custom-dark: #000000;
JSON
{
  "hex": "#412757",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 272.5,
    "s": 38.095,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32902,
    "c": 0.08628,
    "h": 307.3
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#412757
secondary
#6A8A50
accent
#CE5A8F
background
#F7F5F8
surface
#EDEAEF
border
#C8C6CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412757

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

Preview Lab → · Contrast checker → · Palette generator →

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