#412699#412699

#412699 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.174 H 285.5°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#412699
RGBrgb(65, 38, 153)
HSLhsl(254, 60%, 37%)
HSVhsv(254, 75%, 60%)
CMYKcmyk(57.5%, 75.2%, 0%, 40%)
CIE-LABlab(26.18, 42.82, -58.28)
CIE-LCHlch(26.18, 72.32, 306.31°)
OKLaboklab(38.26% 0.0465 -0.1678)
OKLCHoklch(38.26% 0.174 285.5)
XYZxyz(8.6211, 4.8094, 30.6049)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412699 #7E9926
analogous
#264599 #412699 #7A2699
triadic
#412699 #994126 #269941
tetradic
#412699 #992645 #7E9926 #26997A
square
#412699 #992645 #7E9926 #26997A
split-complementary
#412699 #997A26 #459926
monochromatic
#170E37 #2C1A68 #412699 #5632CA #7D62D8

Accessibility & contrast

On white

10.70
#412699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#412699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412699
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412699#FFFFFF#000000##FFFFFF
##4126991.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#16465D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412699;
/* rgb */ color: rgb(65, 38, 153);
/* oklch */ color: oklch(38.3% 0.174 285.5);
Tailwind
colors: {
  custom: {
    50: '#8063b8',
    500: '#412699',
    950: '#000000',
  },
}
SCSS
$custom: #412699;
$custom-light: #8063b8;
$custom-dark: #000000;
JSON
{
  "hex": "#412699",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 254.087,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38263,
    "c": 0.17412,
    "h": 285.5
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#412699
secondary
#A7BD5E
accent
#E344BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412699

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

Preview Lab → · Contrast checker → · Palette generator →

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