#412488#412488

#412488 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.156 H 289.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#412488
RGBrgb(65, 36, 136)
HSLhsl(257, 58%, 34%)
HSVhsv(257, 74%, 53%)
CMYKcmyk(52.2%, 73.5%, 0%, 46.7%)
CIE-LABlab(24.20, 38.80, -51.01)
CIE-LCHlch(24.20, 64.09, 307.26°)
OKLaboklab(36.37% 0.0523 -0.1465)
OKLCHoklch(36.37% 0.156 289.6)
XYZxyz(7.2535, 4.1628, 23.7091)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412488 #6B8824
analogous
#243988 #412488 #732488
triadic
#412488 #884124 #248841
tetradic
#412488 #882439 #6B8824 #248873
square
#412488 #882439 #6B8824 #248873
split-complementary
#412488 #887324 #398824
monochromatic
#130A27 #2A1758 #412488 #5831B8 #7955D2

Accessibility & contrast

On white

11.46
#412488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412488
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412488#FFFFFF#000000##FFFFFF
##4124881.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#283E53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412488;
/* rgb */ color: rgb(65, 36, 136);
/* oklch */ color: oklch(36.4% 0.156 289.6);
Tailwind
colors: {
  custom: {
    50: '#7d61ac',
    500: '#412488',
    950: '#000000',
  },
}
SCSS
$custom: #412488;
$custom-light: #7d61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412488",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 257.4,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36371,
    "c": 0.15551,
    "h": 289.6
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#412488
secondary
#99B652
accent
#E146B4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412488

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

Preview Lab → · Contrast checker → · Palette generator →

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