#412E7A#412E7A

#412E7A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.7% C 0.124 H 290.5°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#412E7A
RGBrgb(65, 46, 122)
HSLhsl(255, 45%, 33%)
HSVhsv(255, 62%, 48%)
CMYKcmyk(46.7%, 62.3%, 0%, 52.2%)
CIE-LABlab(25.21, 28.61, -40.56)
CIE-LCHlch(25.21, 49.64, 305.19°)
OKLaboklab(36.73% 0.0433 -0.1158)
OKLCHoklch(36.73% 0.124 290.5)
XYZxyz(6.6688, 4.4827, 18.9225)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412E7A #677A2E
analogous
#2E417A #412E7A #672E7A
triadic
#412E7A #7A412E #2E7A41
tetradic
#412E7A #7A2E41 #677A2E #2E7A67
square
#412E7A #7A2E41 #677A2E #2E7A67
split-complementary
#412E7A #7A672E #417A2E
monochromatic
#120C21 #291D4E #412E7A #593FA6 #7860C3

Accessibility & contrast

On white

11.07
#412E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412E7A
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412E7A#FFFFFF#000000##FFFFFF
##412E7A1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#303F4F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412e7a;
/* rgb */ color: rgb(65, 46, 122);
/* oklch */ color: oklch(36.7% 0.124 290.5);
Tailwind
colors: {
  custom: {
    50: '#7a67a1',
    500: '#412e7a',
    950: '#000000',
  },
}
SCSS
$custom: #412e7a;
$custom-light: #7a67a1;
$custom-dark: #000000;
JSON
{
  "hex": "#412e7a",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 255,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3673,
    "c": 0.12364,
    "h": 290.5
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#412E7A
secondary
#96AA5A
accent
#D553B4
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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