#412E93#412E93

#412E93 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.157 H 285.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#412E93
RGBrgb(65, 46, 147)
HSLhsl(251, 52%, 38%)
HSVhsv(251, 69%, 58%)
CMYKcmyk(55.8%, 68.7%, 0%, 42.4%)
CIE-LABlab(27.25, 36.48, -52.84)
CIE-LCHlch(27.25, 64.21, 304.62°)
OKLaboklab(38.86% 0.0408 -0.1519)
OKLCHoklch(38.86% 0.157 285)
XYZxyz(8.4218, 5.1839, 28.1549)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E93 #80932E
analogous
#2E4D93 #412E93 #732E93
triadic
#412E93 #93412E #2E9341
tetradic
#412E93 #932E4D #80932E #2E9373
square
#412E93 #932E4D #80932E #2E9373
split-complementary
#412E93 #93732E #4D932E
monochromatic
#181136 #2C1F64 #412E93 #563DC2 #7E6BD1

Accessibility & contrast

On white

10.31
#412E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#412E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E93
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E93#FFFFFF#000000##FFFFFF
##412E931.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#1D485C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412e93;
/* rgb */ color: rgb(65, 46, 147);
/* oklch */ color: oklch(38.9% 0.157 285.0);
Tailwind
colors: {
  custom: {
    50: '#7e68b4',
    500: '#412e93',
    950: '#000000',
  },
}
SCSS
$custom: #412e93;
$custom-light: #7e68b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412e93",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 251.287,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38855,
    "c": 0.15726,
    "h": 285
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#412E93
secondary
#A8B865
accent
#DC4CC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412E93

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

Preview Lab → · Contrast checker → · Palette generator →

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