#412A63#412A63

#412A63 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.3% C 0.098 H 299.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#412A63
RGBrgb(65, 42, 99)
HSLhsl(264, 40%, 28%)
HSVhsv(264, 58%, 39%)
CMYKcmyk(34.3%, 57.6%, 0%, 61.2%)
CIE-LABlab(22.59, 24.21, -29.98)
CIE-LCHlch(22.59, 38.54, 308.92°)
OKLaboklab(34.28% 0.0487 -0.0847)
OKLCHoklch(34.28% 0.098 299.9)
XYZxyz(5.2595, 3.6806, 12.2353)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A63 #4C632A
analogous
#2A2F63 #412A63 #5E2A63
triadic
#412A63 #63412A #2A6341
tetradic
#412A63 #632A2F #4C632A #2A635E
square
#412A63 #632A2F #4C632A #2A635E
split-complementary
#412A63 #635E2A #2F632A
monochromatic
#0E0915 #251838 #412A63 #5D3C8E #7A52B6

Accessibility & contrast

On white

12.10
#412A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#412A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A63
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A63#FFFFFF#000000##FFFFFF
##412A631.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143665
Deuteranopia (green-blind)
#1B3662
Tritanopia (blue-blind)
#3A3542
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412a63;
/* rgb */ color: rgb(65, 42, 99);
/* oklch */ color: oklch(34.3% 0.098 299.9);
Tailwind
colors: {
  custom: {
    50: '#786490',
    500: '#412a63',
    950: '#000000',
  },
}
SCSS
$custom: #412a63;
$custom-light: #786490;
$custom-dark: #000000;
JSON
{
  "hex": "#412a63",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 264.211,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34275,
    "c": 0.09771,
    "h": 299.9
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#412A63
secondary
#7B9553
accent
#D058A0
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050C
muted
#7B7A7D

Preview Lab

Preview with #412A63

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

Preview Lab → · Contrast checker → · Palette generator →

#412A63 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva