#412F68#412F68

#412F68 is a dark, moderate violet. Relative luminance 0.042; OKLCH L 35.6% C 0.096 H 295.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#412F68
RGBrgb(65, 47, 104)
HSLhsl(259, 38%, 30%)
HSVhsv(259, 55%, 41%)
CMYKcmyk(37.5%, 54.8%, 0%, 59.2%)
CIE-LABlab(24.18, 22.45, -30.69)
CIE-LCHlch(24.18, 38.02, 306.19°)
OKLaboklab(35.57% 0.0417 -0.0868)
OKLCHoklch(35.57% 0.096 295.7)
XYZxyz(5.6945, 4.1562, 13.5962)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F68 #56682F
analogous
#2F3A68 #412F68 #5D2F68
triadic
#412F68 #68412F #2F6841
tetradic
#412F68 #682F3A #56682F #2F685D
square
#412F68 #682F3A #56682F #2F685D
split-complementary
#412F68 #685D2F #3A682F
monochromatic
#0D0A15 #271C3E #412F68 #5B4292 #785CB5

Accessibility & contrast

On white

11.47
#412F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F68
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F68#FFFFFF#000000##FFFFFF
##412F681.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#1D3967
Tritanopia (blue-blind)
#383A46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412f68;
/* rgb */ color: rgb(65, 47, 104);
/* oklch */ color: oklch(35.6% 0.096 295.7);
Tailwind
colors: {
  custom: {
    50: '#786893',
    500: '#412f68',
    950: '#000000',
  },
}
SCSS
$custom: #412f68;
$custom-light: #786893;
$custom-dark: #000000;
JSON
{
  "hex": "#412f68",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 258.947,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35565,
    "c": 0.09627,
    "h": 295.7
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#412F68
secondary
#859959
accent
#CE5AA9
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #412F68

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

Preview Lab → · Contrast checker → · Palette generator →

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