#412088#412088

#412088 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.160 H 290.4°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#412088
RGBrgb(65, 32, 136)
HSLhsl(259, 62%, 33%)
HSVhsv(259, 76%, 53%)
CMYKcmyk(52.2%, 76.5%, 0%, 46.7%)
CIE-LABlab(23.45, 40.91, -52.24)
CIE-LCHlch(23.45, 66.35, 308.07°)
OKLaboklab(35.84% 0.0559 -0.15)
OKLCHoklch(35.84% 0.16 290.4)
XYZxyz(7.1391, 3.9341, 23.6710)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412088 #678820
analogous
#203388 #412088 #752088
triadic
#412088 #884120 #208841
tetradic
#412088 #882033 #678820 #208875
square
#412088 #882033 #678820 #208875
split-complementary
#412088 #887520 #338820
monochromatic
#120925 #291456 #412088 #592CBA #784DD5

Accessibility & contrast

On white

11.75
#412088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412088
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412088#FFFFFF#000000##FFFFFF
##4120881.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#283C52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412088;
/* rgb */ color: rgb(65, 32, 136);
/* oklch */ color: oklch(35.8% 0.160 290.4);
Tailwind
colors: {
  custom: {
    50: '#7e5fac',
    500: '#412088',
    950: '#000000',
  },
}
SCSS
$custom: #412088;
$custom-light: #7e5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#412088",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 259.038,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35841,
    "c": 0.1601,
    "h": 290.4
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#412088
secondary
#96B84C
accent
#E543B2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #412088

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

Preview Lab → · Contrast checker → · Palette generator →

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