#412392#412392

#412392 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.169 H 287.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#412392
RGBrgb(65, 35, 146)
HSLhsl(256, 61%, 35%)
HSVhsv(256, 76%, 57%)
CMYKcmyk(55.5%, 76%, 0%, 42.7%)
CIE-LABlab(24.95, 42.30, -55.99)
CIE-LCHlch(24.95, 70.17, 307.07°)
OKLaboklab(37.19% 0.0507 -0.1611)
OKLCHoklch(37.19% 0.169 287.5)
XYZxyz(7.9678, 4.4008, 27.6182)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412392 #749223
analogous
#233D92 #412392 #782392
triadic
#412392 #924123 #239241
tetradic
#412392 #92233D #749223 #239278
square
#412392 #92233D #749223 #239278
split-complementary
#412392 #927823 #3D9223
monochromatic
#150B2F #2B1761 #412392 #572FC3 #7B58D7

Accessibility & contrast

On white

11.17
#412392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412392
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412392#FFFFFF#000000##FFFFFF
##4123921.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#1F4259
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412392;
/* rgb */ color: rgb(65, 35, 146);
/* oklch */ color: oklch(37.2% 0.169 287.5);
Tailwind
colors: {
  custom: {
    50: '#7f61b3',
    500: '#412392',
    950: '#000000',
  },
}
SCSS
$custom: #412392;
$custom-light: #7f61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412392",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 256.216,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3719,
    "c": 0.16885,
    "h": 287.5
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#412392
secondary
#A0BB55
accent
#E443B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412392

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

Preview Lab → · Contrast checker → · Palette generator →

#412392 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva