#412082#412082

#412082 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.153 H 292.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#412082
RGBrgb(65, 32, 130)
HSLhsl(260, 60%, 32%)
HSVhsv(260, 75%, 51%)
CMYKcmyk(50%, 75.4%, 0%, 49%)
CIE-LABlab(22.89, 39.17, -49.39)
CIE-LCHlch(22.89, 63.04, 308.42°)
OKLaboklab(35.27% 0.0574 -0.1417)
OKLCHoklch(35.27% 0.153 292)
XYZxyz(6.7246, 3.7683, 21.4878)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412082 #618220
analogous
#203082 #412082 #722082
triadic
#412082 #824120 #208241
tetradic
#412082 #822030 #618220 #208272
square
#412082 #822030 #618220 #208272
split-complementary
#412082 #827220 #308220
monochromatic
#100820 #281451 #412082 #5A2CB3 #784AD2

Accessibility & contrast

On white

11.97
#412082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#412082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412082
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412082#FFFFFF#000000##FFFFFF
##4120821.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#2C3A4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412082;
/* rgb */ color: rgb(65, 32, 130);
/* oklch */ color: oklch(35.3% 0.153 292.0);
Tailwind
colors: {
  custom: {
    50: '#7d5fa7',
    500: '#412082',
    950: '#000000',
  },
}
SCSS
$custom: #412082;
$custom-light: #7d5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#412082",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 260.204,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35272,
    "c": 0.15287,
    "h": 292
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#412082
secondary
#90B549
accent
#E444AE
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412082

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

Preview Lab → · Contrast checker → · Palette generator →

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