#412D7D#412D7D

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

Color values

HEX#412D7D
RGBrgb(65, 45, 125)
HSLhsl(255, 47%, 33%)
HSVhsv(255, 64%, 49%)
CMYKcmyk(48%, 64%, 0%, 51%)
CIE-LABlab(25.20, 30.17, -42.47)
CIE-LCHlch(25.20, 52.09, 305.39°)
OKLaboklab(36.8% 0.0444 -0.1214)
OKLCHoklch(36.8% 0.129 290.1)
XYZxyz(6.8190, 4.4810, 19.9037)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D7D #697D2D
analogous
#2D417D #412D7D #692D7D
triadic
#412D7D #7D412D #2D7D41
tetradic
#412D7D #7D2D41 #697D2D #2D7D69
square
#412D7D #7D2D41 #697D2D #2D7D69
split-complementary
#412D7D #7D692D #417D2D
monochromatic
#120D23 #2A1D50 #412D7D #583DAA #795FC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412D7D#FFFFFF#000000##FFFFFF
##412D7D1.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)
#003D80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#2E4050
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412d7d;
/* rgb */ color: rgb(65, 45, 125);
/* oklch */ color: oklch(36.8% 0.129 290.1);
Tailwind
colors: {
  custom: {
    50: '#7b67a3',
    500: '#412d7d',
    950: '#000000',
  },
}
SCSS
$custom: #412d7d;
$custom-light: #7b67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#412d7d",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 255,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36799,
    "c": 0.12924,
    "h": 290.1
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#412D7D
secondary
#97AC5A
accent
#D751B5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #412D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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