#412D92#412D92

#412D92 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.6% C 0.157 H 285.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#412D92
RGBrgb(65, 45, 146)
HSLhsl(252, 53%, 37%)
HSVhsv(252, 69%, 57%)
CMYKcmyk(55.5%, 69.2%, 0%, 42.7%)
CIE-LABlab(26.95, 36.75, -52.72)
CIE-LCHlch(26.95, 64.27, 304.88°)
OKLaboklab(38.61% 0.0419 -0.1515)
OKLCHoklch(38.61% 0.157 285.5)
XYZxyz(8.3051, 5.0755, 27.7306)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D92 #7E922D
analogous
#2D4C92 #412D92 #732D92
triadic
#412D92 #92412D #2D9241
tetradic
#412D92 #922D4C #7E922D #2D9273
square
#412D92 #922D4C #7E922D #2D9273
split-complementary
#412D92 #92732D #4C922D
monochromatic
#171034 #2C1F63 #412D92 #563BC1 #7D69D1

Accessibility & contrast

On white

10.42
#412D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#412D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D92
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D92#FFFFFF#000000##FFFFFF
##412D921.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#1E475B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #412d92;
/* rgb */ color: rgb(65, 45, 146);
/* oklch */ color: oklch(38.6% 0.157 285.5);
Tailwind
colors: {
  custom: {
    50: '#7e67b3',
    500: '#412d92',
    950: '#000000',
  },
}
SCSS
$custom: #412d92;
$custom-light: #7e67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412d92",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 251.881,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38609,
    "c": 0.15722,
    "h": 285.5
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#412D92
secondary
#A7B763
accent
#DC4CC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412D92

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

Preview Lab → · Contrast checker → · Palette generator →

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