#412A75#412A75

#412A75 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.6% C 0.123 H 293.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#412A75
RGBrgb(65, 42, 117)
HSLhsl(258, 47%, 31%)
HSVhsv(258, 64%, 46%)
CMYKcmyk(44.4%, 64.1%, 0%, 54.1%)
CIE-LABlab(23.88, 29.57, -39.53)
CIE-LCHlch(23.88, 49.36, 306.80°)
OKLaboklab(35.64% 0.0486 -0.1127)
OKLCHoklch(35.64% 0.123 293.3)
XYZxyz(6.2180, 4.0639, 17.2830)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412A75 #5E752A
analogous
#2A3875 #412A75 #662A75
triadic
#412A75 #75412A #2A7541
tetradic
#412A75 #752A38 #5E752A #2A7566
square
#412A75 #752A38 #5E752A #2A7566
split-complementary
#412A75 #75662A #38752A
monochromatic
#0F0A1B #281A48 #412A75 #5A3AA2 #7857C3

Accessibility & contrast

On white

11.58
#412A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#412A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412A75
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412A75#FFFFFF#000000##FFFFFF
##412A751.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#333B4B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412a75;
/* rgb */ color: rgb(65, 42, 117);
/* oklch */ color: oklch(35.6% 0.123 293.3);
Tailwind
colors: {
  custom: {
    50: '#7a659d',
    500: '#412a75',
    950: '#000000',
  },
}
SCSS
$custom: #412a75;
$custom-light: #7a659d;
$custom-dark: #000000;
JSON
{
  "hex": "#412a75",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 258.4,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3564,
    "c": 0.12275,
    "h": 293.3
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#412A75
secondary
#8DA754
accent
#D751AE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #412A75

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

Preview Lab → · Contrast checker → · Palette generator →

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