#412985#412985

#412985 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.145 H 289.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#412985
RGBrgb(65, 41, 133)
HSLhsl(256, 53%, 34%)
HSVhsv(256, 69%, 52%)
CMYKcmyk(51.1%, 69.2%, 0%, 47.8%)
CIE-LABlab(24.96, 35.06, -47.89)
CIE-LCHlch(24.96, 59.35, 306.20°)
OKLaboklab(36.83% 0.0479 -0.1373)
OKLCHoklch(36.83% 0.145 289.2)
XYZxyz(7.2053, 4.4028, 22.6559)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412985 #6D8529
analogous
#293F85 #412985 #6F2985
triadic
#412985 #854129 #298541
tetradic
#412985 #85293F #6D8529 #29856F
square
#412985 #85293F #6D8529 #29856F
split-complementary
#412985 #856F29 #3F8529
monochromatic
#130C27 #2A1B56 #412985 #5837B4 #795CCD

Accessibility & contrast

On white

11.17
#412985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412985
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412985#FFFFFF#000000##FFFFFF
##4129851.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#2A4053
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412985;
/* rgb */ color: rgb(65, 41, 133);
/* oklch */ color: oklch(36.8% 0.145 289.2);
Tailwind
colors: {
  custom: {
    50: '#7c64a9',
    500: '#412985',
    950: '#000000',
  },
}
SCSS
$custom: #412985;
$custom-light: #7c64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412985",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 255.652,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3683,
    "c": 0.14546,
    "h": 289.2
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#412985
secondary
#9BB258
accent
#DC4CB7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #412985

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

Preview Lab → · Contrast checker → · Palette generator →

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