#412457#412457

#412457 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.4% C 0.092 H 308.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#412457
RGBrgb(65, 36, 87)
HSLhsl(274, 41%, 24%)
HSVhsv(274, 59%, 34%)
CMYKcmyk(25.3%, 58.6%, 0%, 65.9%)
CIE-LABlab(20.34, 24.67, -25.65)
CIE-LCHlch(20.34, 35.59, 313.88°)
OKLaboklab(32.36% 0.057 -0.072)
OKLCHoklch(32.36% 0.092 308.4)
XYZxyz(4.5308, 3.0738, 9.3696)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412457 #3A5724
analogous
#282457 #412457 #572454
triadic
#412457 #574124 #245741
tetradic
#412457 #572824 #3A5724 #245457
square
#412457 #572824 #3A5724 #245457
split-complementary
#412457 #545724 #245728
monochromatic
#100916 #21122C #412457 #613682 #8248AE

Accessibility & contrast

On white

13.00
#412457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#412457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412457
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412457#FFFFFF#000000##FFFFFF
##4124571.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143059
Deuteranopia (green-blind)
#1E3156
Tritanopia (blue-blind)
#3E2D39
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412457;
/* rgb */ color: rgb(65, 36, 87);
/* oklch */ color: oklch(32.4% 0.092 308.4);
Tailwind
colors: {
  custom: {
    50: '#776087',
    500: '#412457',
    950: '#000000',
  },
}
SCSS
$custom: #412457;
$custom-light: #776087;
$custom-dark: #000000;
JSON
{
  "hex": "#412457",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 274.118,
    "s": 41.463,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32361,
    "c": 0.09184,
    "h": 308.4
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#412457
secondary
#678B4C
accent
#D1578B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412457

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

Preview Lab → · Contrast checker → · Palette generator →

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