#412557#412557

#412557 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.090 H 308.0°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#412557
RGBrgb(65, 37, 87)
HSLhsl(274, 40%, 24%)
HSVhsv(274, 57%, 34%)
CMYKcmyk(25.3%, 57.5%, 0%, 65.9%)
CIE-LABlab(20.58, 24.04, -25.27)
CIE-LCHlch(20.58, 34.88, 313.58°)
OKLaboklab(32.54% 0.0555 -0.0709)
OKLCHoklch(32.54% 0.09 308)
XYZxyz(4.5615, 3.1351, 9.3798)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412557 #3B5725
analogous
#282557 #412557 #572554
triadic
#412557 #574125 #255741
tetradic
#412557 #572825 #3B5725 #255457
square
#412557 #572825 #3B5725 #255457
split-complementary
#412557 #545725 #255728
monochromatic
#100915 #21132C #412557 #613782 #814AAD

Accessibility & contrast

On white

12.91
#412557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412557
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412557#FFFFFF#000000##FFFFFF
##4125571.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163059
Deuteranopia (green-blind)
#1F3256
Tritanopia (blue-blind)
#3E2E3A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412557;
/* rgb */ color: rgb(65, 37, 87);
/* oklch */ color: oklch(32.5% 0.090 308.0);
Tailwind
colors: {
  custom: {
    50: '#776087',
    500: '#412557',
    950: '#000000',
  },
}
SCSS
$custom: #412557;
$custom-light: #776087;
$custom-dark: #000000;
JSON
{
  "hex": "#412557",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 87
  },
  "hsl": {
    "h": 273.6,
    "s": 40.323,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32538,
    "c": 0.09,
    "h": 308
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#412557
secondary
#688A4D
accent
#D0588D
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412557

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

Preview Lab → · Contrast checker → · Palette generator →

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