#412A4E#412A4E

#412A4E is a dark, moderate violet. Relative luminance 0.033; OKLCH L 32.9% C 0.068 H 312.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#412A4E
RGBrgb(65, 42, 78)
HSLhsl(278, 30%, 24%)
HSVhsv(278, 46%, 31%)
CMYKcmyk(16.7%, 46.2%, 0%, 69.4%)
CIE-LABlab(21.32, 18.44, -18.07)
CIE-LCHlch(21.32, 25.82, 315.58°)
OKLaboklab(32.92% 0.0459 -0.05)
OKLCHoklch(32.92% 0.068 312.5)
XYZxyz(4.3829, 3.3299, 7.6181)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A4E #374E2A
analogous
#2F2A4E #412A4E #4E2A49
triadic
#412A4E #4E412A #2A4E41
tetradic
#412A4E #4E2F2A #374E2A #2A494E
square
#412A4E #4E2F2A #374E2A #2A494E
split-complementary
#412A4E #494E2A #2A4E2F
monochromatic
#110B14 #201526 #412A4E #623F76 #83559E

Accessibility & contrast

On white

12.61
#412A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#412A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A4E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A4E#FFFFFF#000000##FFFFFF
##412A4E1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#29344D
Tritanopia (blue-blind)
#402F38
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412a4e;
/* rgb */ color: rgb(65, 42, 78);
/* oklch */ color: oklch(32.9% 0.068 312.5);
Tailwind
colors: {
  custom: {
    50: '#76647f',
    500: '#412a4e',
    950: '#000000',
  },
}
SCSS
$custom: #412a4e;
$custom-light: #76647f;
$custom-dark: #000000;
JSON
{
  "hex": "#412a4e",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 278.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3292,
    "c": 0.06786,
    "h": 312.5
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#412A4E
secondary
#648054
accent
#C66286
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #412A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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