#412A72#412A72

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

Color values

HEX#412A72
RGBrgb(65, 42, 114)
HSLhsl(259, 46%, 31%)
HSVhsv(259, 63%, 45%)
CMYKcmyk(43%, 63.2%, 0%, 55.3%)
CIE-LABlab(23.65, 28.66, -37.98)
CIE-LCHlch(23.65, 47.58, 307.04°)
OKLaboklab(35.4% 0.0487 -0.1082)
OKLCHoklch(35.4% 0.119 294.2)
XYZxyz(6.0444, 3.9945, 16.3689)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A72 #5B722A
analogous
#2A3772 #412A72 #652A72
triadic
#412A72 #72412A #2A7241
tetradic
#412A72 #722A37 #5B722A #2A7265
square
#412A72 #722A37 #5B722A #2A7265
split-complementary
#412A72 #72652A #37722A
monochromatic
#0E0919 #271A45 #412A72 #5A3A9F #7856C1

Accessibility & contrast

On white

11.67
#412A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412A72
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A72#FFFFFF#000000##FFFFFF
##412A721.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#033770
Tritanopia (blue-blind)
#343A49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412a72;
/* rgb */ color: rgb(65, 42, 114);
/* oklch */ color: oklch(35.4% 0.119 294.2);
Tailwind
colors: {
  custom: {
    50: '#7a649b',
    500: '#412a72',
    950: '#000000',
  },
}
SCSS
$custom: #412a72;
$custom-light: #7a649b;
$custom-dark: #000000;
JSON
{
  "hex": "#412a72",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 259.167,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35401,
    "c": 0.11864,
    "h": 294.2
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#412A72
secondary
#8AA454
accent
#D652AC
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #412A72

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

Preview Lab → · Contrast checker → · Palette generator →

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