#412482#412482

#412482 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.148 H 291.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#412482
RGBrgb(65, 36, 130)
HSLhsl(259, 57%, 33%)
HSVhsv(259, 72%, 51%)
CMYKcmyk(50%, 72.3%, 0%, 49%)
CIE-LABlab(23.66, 37.01, -48.13)
CIE-LCHlch(23.66, 60.71, 307.56°)
OKLaboklab(35.82% 0.0535 -0.138)
OKLCHoklch(35.82% 0.148 291.2)
XYZxyz(6.8390, 3.9970, 21.5259)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412482 #658224
analogous
#243682 #412482 #702482
triadic
#412482 #824124 #248241
tetradic
#412482 #822436 #658224 #248270
square
#412482 #822436 #658224 #248270
split-complementary
#412482 #827024 #368224
monochromatic
#110922 #291752 #412482 #5931B2 #7851CF

Accessibility & contrast

On white

11.67
#412482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#412482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412482
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412482#FFFFFF#000000##FFFFFF
##4124821.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#2C3C50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412482;
/* rgb */ color: rgb(65, 36, 130);
/* oklch */ color: oklch(35.8% 0.148 291.2);
Tailwind
colors: {
  custom: {
    50: '#7c61a7',
    500: '#412482',
    950: '#000000',
  },
}
SCSS
$custom: #412482;
$custom-light: #7c61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#412482",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 258.511,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35819,
    "c": 0.14803,
    "h": 291.2
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#412482
secondary
#94B34F
accent
#E048B1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412482

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

Preview Lab → · Contrast checker → · Palette generator →

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