#412C7E#412C7E

#412C7E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.132 H 290.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#412C7E
RGBrgb(65, 44, 126)
HSLhsl(255, 48%, 33%)
HSVhsv(255, 65%, 49%)
CMYKcmyk(48.4%, 65.1%, 0%, 50.6%)
CIE-LABlab(25.05, 31.09, -43.35)
CIE-LCHlch(25.05, 53.35, 305.65°)
OKLaboklab(36.71% 0.0455 -0.124)
OKLCHoklch(36.71% 0.132 290.1)
XYZxyz(6.8455, 4.4313, 20.2293)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412C7E #697E2C
analogous
#2C407E #412C7E #6A2C7E
triadic
#412C7E #7E412C #2C7E41
tetradic
#412C7E #7E2C40 #697E2C #2C7E6A
square
#412C7E #7E2C40 #697E2C #2C7E6A
split-complementary
#412C7E #7E6A2C #407E2C
monochromatic
#120C23 #2A1C51 #412C7E #583CAB #795EC7

Accessibility & contrast

On white

11.13
#412C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412C7E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412C7E#FFFFFF#000000##FFFFFF
##412C7E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#2E3F50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412c7e;
/* rgb */ color: rgb(65, 44, 126);
/* oklch */ color: oklch(36.7% 0.132 290.1);
Tailwind
colors: {
  custom: {
    50: '#7b66a4',
    500: '#412c7e',
    950: '#000000',
  },
}
SCSS
$custom: #412c7e;
$custom-light: #7b66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#412c7e",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 255.366,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36713,
    "c": 0.13205,
    "h": 290.1
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#412C7E
secondary
#97AD59
accent
#D850B5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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