#412668#412668

#412668 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.9% C 0.111 H 299.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#412668
RGBrgb(65, 38, 104)
HSLhsl(265, 46%, 28%)
HSVhsv(265, 63%, 41%)
CMYKcmyk(37.5%, 63.5%, 0%, 59.2%)
CIE-LABlab(21.98, 28.17, -34.22)
CIE-LCHlch(21.98, 44.32, 309.46°)
OKLaboklab(33.94% 0.0544 -0.0971)
OKLCHoklch(33.94% 0.111 299.2)
XYZxyz(5.3712, 3.5095, 13.4884)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412668 #4D6826
analogous
#262C68 #412668 #622668
triadic
#412668 #684126 #266841
tetradic
#412668 #68262C #4D6826 #266862
square
#412668 #68262C #4D6826 #266862
split-complementary
#412668 #686226 #2C6826
monochromatic
#0E0816 #25163B #412668 #5D3695 #7A4BBD

Accessibility & contrast

On white

12.34
#412668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#412668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412668
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412668#FFFFFF#000000##FFFFFF
##4126681.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356A
Deuteranopia (green-blind)
#0E3467
Tritanopia (blue-blind)
#383443
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412668;
/* rgb */ color: rgb(65, 38, 104);
/* oklch */ color: oklch(33.9% 0.111 299.2);
Tailwind
colors: {
  custom: {
    50: '#796294',
    500: '#412668',
    950: '#000000',
  },
}
SCSS
$custom: #412668;
$custom-light: #796294;
$custom-dark: #000000;
JSON
{
  "hex": "#412668",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 104
  },
  "hsl": {
    "h": 264.545,
    "s": 46.479,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.11133,
    "h": 299.2
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#412668
secondary
#7C9B4F
accent
#D652A0
background
#F7F5F9
surface
#EEEAF1
border
#C9C6CB
text
#09050D
muted
#7B797E

Preview Lab

Preview with #412668

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

Preview Lab → · Contrast checker → · Palette generator →

#412668 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva