#412F66#412F66

#412F66 is a dark, moderate violet. Relative luminance 0.041; OKLCH L 35.4% C 0.093 H 296.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#412F66
RGBrgb(65, 47, 102)
HSLhsl(260, 37%, 29%)
HSVhsv(260, 54%, 40%)
CMYKcmyk(36.3%, 53.9%, 0%, 60%)
CIE-LABlab(24.05, 21.86, -29.60)
CIE-LCHlch(24.05, 36.79, 306.44°)
OKLaboklab(35.43% 0.0415 -0.0836)
OKLCHoklch(35.43% 0.093 296.4)
XYZxyz(5.5942, 4.1161, 13.0675)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F66 #54662F
analogous
#2F3966 #412F66 #5D2F66
triadic
#412F66 #66412F #2F6641
tetradic
#412F66 #662F39 #54662F #2F665D
square
#412F66 #662F39 #54662F #2F665D
split-complementary
#412F66 #665D2F #39662F
monochromatic
#0D0A15 #261C3C #412F66 #5C4290 #785CB4

Accessibility & contrast

On white

11.52
#412F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#412F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F66
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F66#FFFFFF#000000##FFFFFF
##412F661.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3968
Deuteranopia (green-blind)
#1F3865
Tritanopia (blue-blind)
#393A45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412f66;
/* rgb */ color: rgb(65, 47, 102);
/* oklch */ color: oklch(35.4% 0.093 296.4);
Tailwind
colors: {
  custom: {
    50: '#786892',
    500: '#412f66',
    950: '#000000',
  },
}
SCSS
$custom: #412f66;
$custom-light: #786892;
$custom-dark: #000000;
JSON
{
  "hex": "#412f66",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 259.636,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35426,
    "c": 0.09333,
    "h": 296.4
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#412F66
secondary
#839859
accent
#CD5BA8
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #412F66

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

Preview Lab → · Contrast checker → · Palette generator →

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