#412276#412276

#412276 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.136 H 295.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#412276
RGBrgb(65, 34, 118)
HSLhsl(262, 55%, 30%)
HSVhsv(262, 71%, 46%)
CMYKcmyk(44.9%, 71.2%, 0%, 53.7%)
CIE-LABlab(22.22, 34.60, -42.87)
CIE-LCHlch(22.22, 55.09, 308.90°)
OKLaboklab(34.46% 0.0579 -0.1225)
OKLCHoklch(34.46% 0.136 295.3)
XYZxyz(6.0211, 3.5757, 17.5090)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412276 #577622
analogous
#222D76 #412276 #6B2276
triadic
#412276 #764122 #227641
tetradic
#412276 #76222D #577622 #22766B
square
#412276 #76222D #577622 #22766B
split-complementary
#412276 #766B22 #2D7622
monochromatic
#0D0718 #271446 #412276 #5B30A6 #7848CA

Accessibility & contrast

On white

12.24
#412276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#412276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412276
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412276#FFFFFF#000000##FFFFFF
##4122761.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#333649
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412276;
/* rgb */ color: rgb(65, 34, 118);
/* oklch */ color: oklch(34.5% 0.136 295.3);
Tailwind
colors: {
  custom: {
    50: '#7b5f9e',
    500: '#412276',
    950: '#000000',
  },
}
SCSS
$custom: #412276;
$custom-light: #7b5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#412276",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 262.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34463,
    "c": 0.13552,
    "h": 295.3
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#412276
secondary
#86A94B
accent
#DF49A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412276

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

Preview Lab → · Contrast checker → · Palette generator →

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