#412773#412773

#412773 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.125 H 294.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#412773
RGBrgb(65, 39, 115)
HSLhsl(261, 49%, 30%)
HSVhsv(261, 66%, 45%)
CMYKcmyk(43.5%, 66.1%, 0%, 54.9%)
CIE-LABlab(23.04, 30.79, -39.61)
CIE-LCHlch(23.04, 50.17, 307.86°)
OKLaboklab(34.98% 0.0524 -0.113)
OKLCHoklch(34.98% 0.125 294.9)
XYZxyz(5.9992, 3.8125, 16.6361)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412773 #597327
analogous
#273373 #412773 #672773
triadic
#412773 #734127 #277341
tetradic
#412773 #732733 #597327 #277367
square
#412773 #732733 #597327 #277367
split-complementary
#412773 #736727 #337327
monochromatic
#0D0818 #271845 #412773 #5B36A1 #7851C4

Accessibility & contrast

On white

11.91
#412773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#412773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412773
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412773#FFFFFF#000000##FFFFFF
##4127731.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#343849
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412773;
/* rgb */ color: rgb(65, 39, 115);
/* oklch */ color: oklch(35.0% 0.125 294.9);
Tailwind
colors: {
  custom: {
    50: '#7a639c',
    500: '#412773',
    950: '#000000',
  },
}
SCSS
$custom: #412773;
$custom-light: #7a639c;
$custom-dark: #000000;
JSON
{
  "hex": "#412773",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 260.526,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34981,
    "c": 0.12454,
    "h": 294.9
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#412773
secondary
#88A550
accent
#D94FAA
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412773

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

Preview Lab → · Contrast checker → · Palette generator →

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