#412688#412688

#412688 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.153 H 289.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#412688
RGBrgb(65, 38, 136)
HSLhsl(257, 56%, 34%)
HSVhsv(257, 72%, 53%)
CMYKcmyk(52.2%, 72.1%, 0%, 46.7%)
CIE-LABlab(24.60, 37.69, -50.36)
CIE-LCHlch(24.60, 62.90, 306.81°)
OKLaboklab(36.65% 0.0504 -0.1446)
OKLCHoklch(36.65% 0.153 289.2)
XYZxyz(7.3157, 4.2873, 23.7298)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412688 #6D8826
analogous
#263C88 #412688 #722688
triadic
#412688 #884126 #268841
tetradic
#412688 #88263C #6D8826 #268872
square
#412688 #88263C #6D8826 #268872
split-complementary
#412688 #887226 #3C8826
monochromatic
#130B28 #2A1958 #412688 #5833B8 #7958D0

Accessibility & contrast

On white

11.30
#412688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412688
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412688#FFFFFF#000000##FFFFFF
##4126881.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#283F54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412688;
/* rgb */ color: rgb(65, 38, 136);
/* oklch */ color: oklch(36.7% 0.153 289.2);
Tailwind
colors: {
  custom: {
    50: '#7d63ac',
    500: '#412688',
    950: '#000000',
  },
}
SCSS
$custom: #412688;
$custom-light: #7d63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412688",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 256.531,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36653,
    "c": 0.1531,
    "h": 289.2
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#412688
secondary
#9BB555
accent
#E048B6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412688

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

Preview Lab → · Contrast checker → · Palette generator →

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