#412F88#412F88

#412F88 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.141 H 286.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#412F88
RGBrgb(65, 47, 136)
HSLhsl(252, 49%, 36%)
HSVhsv(252, 65%, 53%)
CMYKcmyk(52.2%, 65.4%, 0%, 46.7%)
CIE-LABlab(26.55, 32.39, -47.18)
CIE-LCHlch(26.55, 57.23, 304.47°)
OKLaboklab(38.05% 0.0412 -0.1353)
OKLCHoklch(38.05% 0.141 286.9)
XYZxyz(7.6391, 4.9341, 23.8376)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F88 #76882F
analogous
#2F4988 #412F88 #6D2F88
triadic
#412F88 #88412F #2F8841
tetradic
#412F88 #882F49 #76882F #2F886D
square
#412F88 #882F49 #76882F #2F886D
split-complementary
#412F88 #886D2F #49882F
monochromatic
#16102D #2B1F5B #412F88 #573FB5 #7B67CA

Accessibility & contrast

On white

10.57
#412F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#412F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F88
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F88#FFFFFF#000000##FFFFFF
##412F881.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#274457
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412f88;
/* rgb */ color: rgb(65, 47, 136);
/* oklch */ color: oklch(38.1% 0.141 286.9);
Tailwind
colors: {
  custom: {
    50: '#7c68ab',
    500: '#412f88',
    950: '#000000',
  },
}
SCSS
$custom: #412f88;
$custom-light: #7c68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#412f88",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 252.135,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38054,
    "c": 0.14139,
    "h": 286.9
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#412F88
secondary
#A1B161
accent
#D850BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #412F88

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

Preview Lab → · Contrast checker → · Palette generator →

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