#412883#412883

#412883 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.144 H 290.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#412883
RGBrgb(65, 40, 131)
HSLhsl(256, 53%, 34%)
HSVhsv(256, 69%, 51%)
CMYKcmyk(50.4%, 69.5%, 0%, 48.6%)
CIE-LABlab(24.58, 35.03, -47.27)
CIE-LCHlch(24.58, 58.83, 306.54°)
OKLaboklab(36.5% 0.0493 -0.1355)
OKLCHoklch(36.5% 0.144 290)
XYZxyz(7.0343, 4.2798, 21.9238)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412883 #6A8328
analogous
#283C83 #412883 #6E2883
triadic
#412883 #834128 #288341
tetradic
#412883 #83283C #6A8328 #28836E
square
#412883 #83283C #6A8328 #28836E
split-complementary
#412883 #836E28 #3C8328
monochromatic
#120B25 #2A1A54 #412883 #5836B2 #7959CC

Accessibility & contrast

On white

11.31
#412883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412883
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412883#FFFFFF#000000##FFFFFF
##4128831.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#2B3F52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412883;
/* rgb */ color: rgb(65, 40, 131);
/* oklch */ color: oklch(36.5% 0.144 290.0);
Tailwind
colors: {
  custom: {
    50: '#7c64a8',
    500: '#412883',
    950: '#000000',
  },
}
SCSS
$custom: #412883;
$custom-light: #7c64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#412883",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 256.484,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.365,
    "c": 0.14417,
    "h": 290
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#412883
secondary
#98B155
accent
#DD4BB5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412883

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

Preview Lab → · Contrast checker → · Palette generator →

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