#412882#412882

#412882 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.143 H 290.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#412882
RGBrgb(65, 40, 130)
HSLhsl(257, 53%, 33%)
HSVhsv(257, 69%, 51%)
CMYKcmyk(50%, 69.2%, 0%, 49%)
CIE-LABlab(24.49, 34.73, -46.78)
CIE-LCHlch(24.49, 58.26, 306.59°)
OKLaboklab(36.41% 0.0494 -0.134)
OKLCHoklch(36.41% 0.143 290.2)
XYZxyz(6.9669, 4.2528, 21.5686)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412882 #698228
analogous
#283C82 #412882 #6E2882
triadic
#412882 #824128 #288241
tetradic
#412882 #82283C #698228 #28826E
square
#412882 #82283C #698228 #28826E
split-complementary
#412882 #826E28 #3C8228
monochromatic
#120B24 #2A1A53 #412882 #5836B1 #7959CC

Accessibility & contrast

On white

11.35
#412882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#412882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412882
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412882#FFFFFF#000000##FFFFFF
##4128821.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#2C3E51
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412882;
/* rgb */ color: rgb(65, 40, 130);
/* oklch */ color: oklch(36.4% 0.143 290.2);
Tailwind
colors: {
  custom: {
    50: '#7c64a7',
    500: '#412882',
    950: '#000000',
  },
}
SCSS
$custom: #412882;
$custom-light: #7c64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#412882",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 256.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36412,
    "c": 0.14287,
    "h": 290.2
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#412882
secondary
#97B155
accent
#DC4BB4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #412882

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

Preview Lab → · Contrast checker → · Palette generator →

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