#412D63#412D63

#412D63 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 34.8% C 0.092 H 298.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#412D63
RGBrgb(65, 45, 99)
HSLhsl(262, 38%, 28%)
HSVhsv(262, 55%, 39%)
CMYKcmyk(34.3%, 54.5%, 0%, 61.2%)
CIE-LABlab(23.34, 22.28, -28.78)
CIE-LCHlch(23.34, 36.39, 307.74°)
OKLaboklab(34.84% 0.0442 -0.0812)
OKLCHoklch(34.84% 0.092 298.6)
XYZxyz(5.3699, 3.9014, 12.2721)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D63 #4F632D
analogous
#2D3463 #412D63 #5C2D63
triadic
#412D63 #63412D #2D6341
tetradic
#412D63 #632D34 #4F632D #2D635C
square
#412D63 #632D34 #4F632D #2D635C
split-complementary
#412D63 #635C2D #34632D
monochromatic
#0E0A15 #251A39 #412D63 #5D408D #7958B3

Accessibility & contrast

On white

11.80
#412D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#412D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D63
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D63#FFFFFF#000000##FFFFFF
##412D631.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3865
Deuteranopia (green-blind)
#1F3762
Tritanopia (blue-blind)
#3A3743
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412d63;
/* rgb */ color: rgb(65, 45, 99);
/* oklch */ color: oklch(34.8% 0.092 298.6);
Tailwind
colors: {
  custom: {
    50: '#786690',
    500: '#412d63',
    950: '#000000',
  },
}
SCSS
$custom: #412d63;
$custom-light: #786690;
$custom-dark: #000000;
JSON
{
  "hex": "#412d63",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 262.222,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34836,
    "c": 0.09244,
    "h": 298.6
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#412D63
secondary
#7E9557
accent
#CD5AA3
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #412D63

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

Preview Lab → · Contrast checker → · Palette generator →

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