#412A7A#412A7A

#412A7A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.0% C 0.130 H 291.8°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#412A7A
RGBrgb(65, 42, 122)
HSLhsl(257, 49%, 32%)
HSVhsv(257, 66%, 48%)
CMYKcmyk(46.7%, 65.6%, 0%, 52.2%)
CIE-LABlab(24.27, 31.09, -42.08)
CIE-LCHlch(24.27, 52.31, 306.46°)
OKLaboklab(36.05% 0.0482 -0.1202)
OKLCHoklch(36.05% 0.13 291.8)
XYZxyz(6.5198, 4.1847, 18.8728)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A7A #637A2A
analogous
#2A3B7A #412A7A #692A7A
triadic
#412A7A #7A412A #2A7A41
tetradic
#412A7A #7A2A3B #637A2A #2A7A69
square
#412A7A #7A2A3B #637A2A #2A7A69
split-complementary
#412A7A #7A692A #3B7A2A
monochromatic
#100B1F #291A4C #412A7A #593AA8 #7859C6

Accessibility & contrast

On white

11.43
#412A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#412A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A7A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A7A#FFFFFF#000000##FFFFFF
##412A7A1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#303D4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412a7a;
/* rgb */ color: rgb(65, 42, 122);
/* oklch */ color: oklch(36.0% 0.130 291.8);
Tailwind
colors: {
  custom: {
    50: '#7b65a1',
    500: '#412a7a',
    950: '#000000',
  },
}
SCSS
$custom: #412a7a;
$custom-light: #7b65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#412a7a",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 257.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36048,
    "c": 0.12953,
    "h": 291.8
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#412A7A
secondary
#92AB55
accent
#D84FB1
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #412A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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