#412073#412073

#412073 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.134 H 296.8°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#412073
RGBrgb(65, 32, 115)
HSLhsl(264, 56%, 29%)
HSVhsv(264, 72%, 45%)
CMYKcmyk(43.5%, 72.2%, 0%, 54.9%)
CIE-LABlab(21.56, 34.84, -42.01)
CIE-LCHlch(21.56, 54.58, 309.67°)
OKLaboklab(33.91% 0.0606 -0.12)
OKLCHoklch(33.91% 0.134 296.8)
XYZxyz(5.7902, 3.3945, 16.5665)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412073 #527320
analogous
#202973 #412073 #6B2073
triadic
#412073 #734120 #207341
tetradic
#412073 #732029 #527320 #20736B
square
#412073 #732029 #527320 #20736B
split-complementary
#412073 #736B20 #297320
monochromatic
#0E0718 #261343 #412073 #5C2DA3 #7943CB

Accessibility & contrast

On white

12.51
#412073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#412073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412073
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412073#FFFFFF#000000##FFFFFF
##4120731.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#343447
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412073;
/* rgb */ color: rgb(65, 32, 115);
/* oklch */ color: oklch(33.9% 0.134 296.8);
Tailwind
colors: {
  custom: {
    50: '#7b5e9c',
    500: '#412073',
    950: '#000000',
  },
}
SCSS
$custom: #412073;
$custom-light: #7b5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#412073",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 263.855,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33914,
    "c": 0.13445,
    "h": 296.8
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#412073
secondary
#81A748
accent
#E048A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #412073

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

Preview Lab → · Contrast checker → · Palette generator →

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