#412A70#412A70

#412A70 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.2% C 0.116 H 294.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#412A70
RGBrgb(65, 42, 112)
HSLhsl(260, 45%, 30%)
HSVhsv(260, 63%, 44%)
CMYKcmyk(42%, 62.5%, 0%, 56.1%)
CIE-LABlab(23.50, 28.05, -36.93)
CIE-LCHlch(23.50, 46.38, 307.22°)
OKLaboklab(35.24% 0.0488 -0.1051)
OKLCHoklch(35.24% 0.116 294.9)
XYZxyz(5.9318, 3.9495, 15.7759)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A70 #59702A
analogous
#2A3670 #412A70 #642A70
triadic
#412A70 #70412A #2A7041
tetradic
#412A70 #702A36 #59702A #2A7064
square
#412A70 #702A36 #59702A #2A7064
split-complementary
#412A70 #70642A #36702A
monochromatic
#0D0917 #271943 #412A70 #5B3B9D #7855BF

Accessibility & contrast

On white

11.73
#412A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A70
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A70#FFFFFF#000000##FFFFFF
##412A701.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#08376E
Tritanopia (blue-blind)
#353948
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412a70;
/* rgb */ color: rgb(65, 42, 112);
/* oklch */ color: oklch(35.2% 0.116 294.9);
Tailwind
colors: {
  custom: {
    50: '#79649a',
    500: '#412a70',
    950: '#000000',
  },
}
SCSS
$custom: #412a70;
$custom-light: #79649a;
$custom-dark: #000000;
JSON
{
  "hex": "#412a70",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 259.714,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35244,
    "c": 0.1159,
    "h": 294.9
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#412A70
secondary
#88A254
accent
#D553AA
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #412A70

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

Preview Lab → · Contrast checker → · Palette generator →

#412A70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva