#412F92#412F92

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

Color values

HEX#412F92
RGBrgb(65, 47, 146)
HSLhsl(251, 51%, 38%)
HSVhsv(251, 68%, 57%)
CMYKcmyk(55.5%, 67.8%, 0%, 42.7%)
CIE-LABlab(27.38, 35.56, -52.01)
CIE-LCHlch(27.38, 63.01, 304.36°)
OKLaboklab(38.92% 0.04 -0.1494)
OKLCHoklch(38.92% 0.155 285)
XYZxyz(8.3832, 5.2317, 27.7566)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F92 #80922F
analogous
#2F4E92 #412F92 #722F92
triadic
#412F92 #92412F #2F9241
tetradic
#412F92 #922F4E #80922F #2F9272
square
#412F92 #922F4E #80922F #2F9272
split-complementary
#412F92 #92722F #4E922F
monochromatic
#181135 #2C2064 #412F92 #563EC0 #7E6CD0

Accessibility & contrast

On white

10.26
#412F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#412F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F92
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F92#FFFFFF#000000##FFFFFF
##412F921.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#1E485C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #412f92;
/* rgb */ color: rgb(65, 47, 146);
/* oklch */ color: oklch(38.9% 0.155 285.0);
Tailwind
colors: {
  custom: {
    50: '#7e69b3',
    500: '#412f92',
    950: '#000000',
  },
}
SCSS
$custom: #412f92;
$custom-light: #7e69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412f92",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 250.909,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38923,
    "c": 0.1547,
    "h": 285
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#412F92
secondary
#A8B766
accent
#DB4DC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412F92

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

Preview Lab → · Contrast checker → · Palette generator →

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