#412B70#412B70

#412B70 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.114 H 294.5°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#412B70
RGBrgb(65, 43, 112)
HSLhsl(259, 45%, 30%)
HSVhsv(259, 62%, 44%)
CMYKcmyk(42%, 61.6%, 0%, 56.1%)
CIE-LABlab(23.74, 27.43, -36.55)
CIE-LCHlch(23.74, 45.70, 306.88°)
OKLaboklab(35.42% 0.0475 -0.104)
OKLCHoklch(35.42% 0.114 294.5)
XYZxyz(5.9677, 4.0213, 15.7879)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412B70 #5A702B
analogous
#2B3870 #412B70 #632B70
triadic
#412B70 #70412B #2B7041
tetradic
#412B70 #702B38 #5A702B #2B7063
square
#412B70 #702B38 #5A702B #2B7063
split-complementary
#412B70 #70632B #38702B
monochromatic
#0E0918 #271A44 #412B70 #5B3C9C #7857BE

Accessibility & contrast

On white

11.64
#412B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#412B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412B70
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412B70#FFFFFF#000000##FFFFFF
##412B701.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013972
Deuteranopia (green-blind)
#0B376E
Tritanopia (blue-blind)
#353A49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412b70;
/* rgb */ color: rgb(65, 43, 112);
/* oklch */ color: oklch(35.4% 0.114 294.5);
Tailwind
colors: {
  custom: {
    50: '#79659a',
    500: '#412b70',
    950: '#000000',
  },
}
SCSS
$custom: #412b70;
$custom-light: #79659a;
$custom-dark: #000000;
JSON
{
  "hex": "#412b70",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 259.13,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35419,
    "c": 0.11432,
    "h": 294.5
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#412B70
secondary
#89A255
accent
#D454AB
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #412B70

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

Preview Lab → · Contrast checker → · Palette generator →

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