#412F99#412F99

#412F99 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.164 H 283.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#412F99
RGBrgb(65, 47, 153)
HSLhsl(250, 53%, 39%)
HSVhsv(250, 69%, 60%)
CMYKcmyk(57.5%, 69.3%, 0%, 40%)
CIE-LABlab(28.00, 37.79, -55.31)
CIE-LCHlch(28.00, 66.98, 304.34°)
OKLaboklab(39.55% 0.0389 -0.1591)
OKLCHoklch(39.55% 0.164 283.8)
XYZxyz(8.9445, 5.4562, 30.7126)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F99 #87992F
analogous
#2F5299 #412F99 #762F99
triadic
#412F99 #99412F #2F9941
tetradic
#412F99 #992F52 #87992F #2F9976
square
#412F99 #992F52 #87992F #2F9976
split-complementary
#412F99 #99762F #52992F
monochromatic
#19123B #2D216A #412F99 #5741C5 #806FD3

Accessibility & contrast

On white

10.04
#412F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#412F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F99
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F99#FFFFFF#000000##FFFFFF
##412F991.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#144A60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #412f99;
/* rgb */ color: rgb(65, 47, 153);
/* oklch */ color: oklch(39.6% 0.164 283.8);
Tailwind
colors: {
  custom: {
    50: '#7f69b8',
    500: '#412f99',
    950: '#000000',
  },
}
SCSS
$custom: #412f99;
$custom-light: #7f69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#412f99",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 250.189,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39553,
    "c": 0.16381,
    "h": 283.8
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#412F99
secondary
#ADBA69
accent
#DC4BC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412F99

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

Preview Lab → · Contrast checker → · Palette generator →

#412F99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva