#412673#412673

#412673 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.126 H 295.2°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#412673
RGBrgb(65, 38, 115)
HSLhsl(261, 50%, 30%)
HSVhsv(261, 67%, 45%)
CMYKcmyk(43.5%, 67%, 0%, 54.9%)
CIE-LABlab(22.82, 31.39, -39.97)
CIE-LCHlch(22.82, 50.82, 308.15°)
OKLaboklab(34.82% 0.0536 -0.114)
OKLCHoklch(34.82% 0.126 295.2)
XYZxyz(5.9668, 3.7477, 16.6253)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412673 #587326
analogous
#263173 #412673 #682673
triadic
#412673 #734126 #267341
tetradic
#412673 #732631 #587326 #267368
square
#412673 #732631 #587326 #267368
split-complementary
#412673 #736826 #317326
monochromatic
#0D0817 #271745 #412673 #5B35A1 #784FC5

Accessibility & contrast

On white

12.00
#412673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#412673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412673
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412673#FFFFFF#000000##FFFFFF
##4126731.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#343849
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412673;
/* rgb */ color: rgb(65, 38, 115);
/* oklch */ color: oklch(34.8% 0.126 295.2);
Tailwind
colors: {
  custom: {
    50: '#7a629c',
    500: '#412673',
    950: '#000000',
  },
}
SCSS
$custom: #412673;
$custom-light: #7a629c;
$custom-dark: #000000;
JSON
{
  "hex": "#412673",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 261.039,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.34819,
    "c": 0.12601,
    "h": 295.2
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#412673
secondary
#87A64F
accent
#DA4EA9
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #412673

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

Preview Lab → · Contrast checker → · Palette generator →

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