#412071#412071

#412071 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.132 H 297.5°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#412071
RGBrgb(65, 32, 113)
HSLhsl(264, 56%, 28%)
HSVhsv(264, 72%, 44%)
CMYKcmyk(42.5%, 71.7%, 0%, 55.7%)
CIE-LABlab(21.39, 34.27, -41.00)
CIE-LCHlch(21.39, 53.44, 309.89°)
OKLaboklab(33.74% 0.0609 -0.117)
OKLCHoklch(33.74% 0.132 297.5)
XYZxyz(5.6764, 3.3490, 15.9669)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412071 #507120
analogous
#202871 #412071 #692071
triadic
#412071 #714120 #207141
tetradic
#412071 #712028 #507120 #207169
square
#412071 #712028 #507120 #207169
split-complementary
#412071 #716920 #287120
monochromatic
#0E0718 #261241 #412071 #5C2EA1 #7942C9

Accessibility & contrast

On white

12.58
#412071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#412071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412071
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412071#FFFFFF#000000##FFFFFF
##4120711.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#353346
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412071;
/* rgb */ color: rgb(65, 32, 113);
/* oklch */ color: oklch(33.7% 0.132 297.5);
Tailwind
colors: {
  custom: {
    50: '#7a5e9a',
    500: '#412071',
    950: '#000000',
  },
}
SCSS
$custom: #412071;
$custom-light: #7a5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#412071",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 264.444,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3374,
    "c": 0.13196,
    "h": 297.5
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#412071
secondary
#7FA548
accent
#DF49A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #412071

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

Preview Lab → · Contrast checker → · Palette generator →

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