#412078#412078

#412078 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.141 H 295.1°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#412078
RGBrgb(65, 32, 120)
HSLhsl(263, 58%, 30%)
HSVhsv(263, 73%, 47%)
CMYKcmyk(45.8%, 73.3%, 0%, 52.9%)
CIE-LABlab(21.99, 36.28, -44.51)
CIE-LCHlch(21.99, 57.42, 309.18°)
OKLaboklab(34.36% 0.0596 -0.1274)
OKLCHoklch(34.36% 0.141 295.1)
XYZxyz(6.0857, 3.5128, 18.1230)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412078 #577820
analogous
#202B78 #412078 #6D2078
triadic
#412078 #784120 #207841
tetradic
#412078 #78202B #577820 #20786D
square
#412078 #78202B #577820 #20786D
split-complementary
#412078 #786D20 #2B7820
monochromatic
#0D0618 #271348 #412078 #5B2DA8 #7845CD

Accessibility & contrast

On white

12.33
#412078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412078
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412078#FFFFFF#000000##FFFFFF
##4120781.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#323649
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #412078;
/* rgb */ color: rgb(65, 32, 120);
/* oklch */ color: oklch(34.4% 0.141 295.1);
Tailwind
colors: {
  custom: {
    50: '#7b5ea0',
    500: '#412078',
    950: '#000000',
  },
}
SCSS
$custom: #412078;
$custom-light: #7b5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#412078",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 262.5,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34356,
    "c": 0.14065,
    "h": 295.1
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#412078
secondary
#86AB48
accent
#E147A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #412078

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

Preview Lab → · Contrast checker → · Palette generator →

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