#412E98#412E98

#412E98 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.164 H 284.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#412E98
RGBrgb(65, 46, 152)
HSLhsl(251, 54%, 39%)
HSVhsv(251, 70%, 60%)
CMYKcmyk(57.2%, 69.7%, 0%, 40.4%)
CIE-LABlab(27.69, 38.05, -55.19)
CIE-LCHlch(27.69, 67.04, 304.59°)
OKLaboklab(39.31% 0.04 -0.1588)
OKLCHoklch(39.31% 0.164 284.1)
XYZxyz(8.8227, 5.3443, 30.2663)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E98 #85982E
analogous
#2E5098 #412E98 #762E98
triadic
#412E98 #98412E #2E9841
tetradic
#412E98 #982E50 #85982E #2E9876
square
#412E98 #982E50 #85982E #2E9876
split-complementary
#412E98 #98762E #50982E
monochromatic
#19123A #2D2069 #412E98 #573EC5 #806DD3

Accessibility & contrast

On white

10.15
#412E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#412E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E98
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E98#FFFFFF#000000##FFFFFF
##412E981.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#164A5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412e98;
/* rgb */ color: rgb(65, 46, 152);
/* oklch */ color: oklch(39.3% 0.164 284.1);
Tailwind
colors: {
  custom: {
    50: '#7f68b7',
    500: '#412e98',
    950: '#000000',
  },
}
SCSS
$custom: #412e98;
$custom-light: #7f68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#412e98",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 250.755,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39308,
    "c": 0.16373,
    "h": 284.1
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#412E98
secondary
#ABBA68
accent
#DD4BC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412E98

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

Preview Lab → · Contrast checker → · Palette generator →

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