#412C92#412C92

#412C92 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.158 H 285.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#412C92
RGBrgb(65, 44, 146)
HSLhsl(252, 54%, 37%)
HSVhsv(252, 70%, 57%)
CMYKcmyk(55.5%, 69.9%, 0%, 42.7%)
CIE-LABlab(26.74, 37.33, -53.07)
CIE-LCHlch(26.74, 64.89, 305.12°)
OKLaboklab(38.46% 0.0428 -0.1525)
OKLCHoklch(38.46% 0.158 285.7)
XYZxyz(8.2674, 5.0001, 27.7180)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C92 #7D922C
analogous
#2C4A92 #412C92 #742C92
triadic
#412C92 #92412C #2C9241
tetradic
#412C92 #922C4A #7D922C #2C9274
square
#412C92 #922C4A #7D922C #2C9274
split-complementary
#412C92 #92742C #4A922C
monochromatic
#171034 #2C1E63 #412C92 #563AC1 #7D67D1

Accessibility & contrast

On white

10.50
#412C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#412C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C92
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C92#FFFFFF#000000##FFFFFF
##412C921.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#1E465B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412c92;
/* rgb */ color: rgb(65, 44, 146);
/* oklch */ color: oklch(38.5% 0.158 285.7);
Tailwind
colors: {
  custom: {
    50: '#7e67b3',
    500: '#412c92',
    950: '#000000',
  },
}
SCSS
$custom: #412c92;
$custom-light: #7e67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412c92",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 252.353,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38456,
    "c": 0.15845,
    "h": 285.7
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#412C92
secondary
#A6B862
accent
#DD4BBF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412C92

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

Preview Lab → · Contrast checker → · Palette generator →

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