#412459#412459

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

Color values

HEX#412459
RGBrgb(65, 36, 89)
HSLhsl(273, 42%, 25%)
HSVhsv(273, 60%, 35%)
CMYKcmyk(27%, 59.6%, 0%, 65.1%)
CIE-LABlab(20.47, 25.21, -26.77)
CIE-LCHlch(20.47, 36.77, 313.27°)
OKLaboklab(32.5% 0.0571 -0.0753)
OKLCHoklch(32.5% 0.095 307.2)
XYZxyz(4.6137, 3.1069, 9.8059)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412459 #3C5924
analogous
#272459 #412459 #592457
triadic
#412459 #594124 #245941
tetradic
#412459 #592724 #3C5924 #245759
square
#412459 #592724 #3C5924 #245759
split-complementary
#412459 #575924 #245927
monochromatic
#100916 #21122D #412459 #613685 #8147B0

Accessibility & contrast

On white

12.95
#412459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#412459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412459
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412459#FFFFFF#000000##FFFFFF
##4124591.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305B
Deuteranopia (green-blind)
#1C3258
Tritanopia (blue-blind)
#3D2E3A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412459;
/* rgb */ color: rgb(65, 36, 89);
/* oklch */ color: oklch(32.5% 0.095 307.2);
Tailwind
colors: {
  custom: {
    50: '#776088',
    500: '#412459',
    950: '#000000',
  },
}
SCSS
$custom: #412459;
$custom-light: #776088;
$custom-dark: #000000;
JSON
{
  "hex": "#412459",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 89
  },
  "hsl": {
    "h": 272.83,
    "s": 42.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32499,
    "c": 0.09451,
    "h": 307.2
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#412459
secondary
#698D4C
accent
#D2568E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412459

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

Preview Lab → · Contrast checker → · Palette generator →

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