#412458#412458

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

Color values

HEX#412458
RGBrgb(65, 36, 88)
HSLhsl(273, 42%, 24%)
HSVhsv(273, 59%, 35%)
CMYKcmyk(26.1%, 59.1%, 0%, 65.5%)
CIE-LABlab(20.40, 24.94, -26.21)
CIE-LCHlch(20.40, 36.18, 313.57°)
OKLaboklab(32.43% 0.0571 -0.0736)
OKLCHoklch(32.43% 0.093 307.8)
XYZxyz(4.5719, 3.0902, 9.5862)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412458 #3B5824
analogous
#272458 #412458 #582455
triadic
#412458 #584124 #245841
tetradic
#412458 #582724 #3B5824 #245558
square
#412458 #582724 #3B5824 #245558
split-complementary
#412458 #555824 #245827
monochromatic
#100916 #21122D #412458 #613683 #8148AF

Accessibility & contrast

On white

12.98
#412458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412458
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412458#FFFFFF#000000##FFFFFF
##4124581.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13305A
Deuteranopia (green-blind)
#1D3157
Tritanopia (blue-blind)
#3E2D3A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412458;
/* rgb */ color: rgb(65, 36, 88);
/* oklch */ color: oklch(32.4% 0.093 307.8);
Tailwind
colors: {
  custom: {
    50: '#776087',
    500: '#412458',
    950: '#000000',
  },
}
SCSS
$custom: #412458;
$custom-light: #776087;
$custom-dark: #000000;
JSON
{
  "hex": "#412458",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 273.462,
    "s": 41.935,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3243,
    "c": 0.09317,
    "h": 307.8
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#412458
secondary
#688C4C
accent
#D2568D
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09050B
muted
#7B797C

Preview Lab

Preview with #412458

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

Preview Lab → · Contrast checker → · Palette generator →

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