#412A64#412A64

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

Color values

HEX#412A64
RGBrgb(65, 42, 100)
HSLhsl(264, 41%, 28%)
HSVhsv(264, 58%, 39%)
CMYKcmyk(35%, 58%, 0%, 60.8%)
CIE-LABlab(22.65, 24.50, -30.53)
CIE-LCHlch(22.65, 39.15, 308.75°)
OKLaboklab(34.35% 0.0487 -0.0863)
OKLCHoklch(34.35% 0.099 299.5)
XYZxyz(5.3076, 3.6998, 12.4886)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A64 #4D642A
analogous
#2A3064 #412A64 #5E2A64
triadic
#412A64 #64412A #2A6441
tetradic
#412A64 #642A30 #4D642A #2A645E
square
#412A64 #642A30 #4D642A #2A645E
split-complementary
#412A64 #645E2A #30642A
monochromatic
#0E0916 #251839 #412A64 #5D3C8F #7A52B6

Accessibility & contrast

On white

12.07
#412A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412A64
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A64#FFFFFF#000000##FFFFFF
##412A641.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412a64;
/* rgb */ color: rgb(65, 42, 100);
/* oklch */ color: oklch(34.3% 0.099 299.5);
Tailwind
colors: {
  custom: {
    50: '#786490',
    500: '#412a64',
    950: '#000000',
  },
}
SCSS
$custom: #412a64;
$custom-light: #786490;
$custom-dark: #000000;
JSON
{
  "hex": "#412a64",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 263.793,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34347,
    "c": 0.09912,
    "h": 299.5
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#412A64
secondary
#7C9653
accent
#D157A0
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09050C
muted
#7B7A7D

Preview Lab

Preview with #412A64

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

Preview Lab → · Contrast checker → · Palette generator →

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