#412169#412169

#412169 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.120 H 300.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#412169
RGBrgb(65, 33, 105)
HSLhsl(267, 52%, 27%)
HSVhsv(267, 69%, 41%)
CMYKcmyk(38.1%, 68.6%, 0%, 58.8%)
CIE-LABlab(20.95, 31.44, -36.53)
CIE-LCHlch(20.95, 48.20, 310.71°)
OKLaboklab(33.22% 0.0608 -0.1039)
OKLCHoklch(33.22% 0.12 300.3)
XYZxyz(5.2730, 3.2314, 13.7078)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412169 #496921
analogous
#212569 #412169 #652169
triadic
#412169 #694121 #216941
tetradic
#412169 #692125 #496921 #216965
square
#412169 #692125 #496921 #216965
split-complementary
#412169 #696521 #256921
monochromatic
#0E0717 #24123A #412169 #5E3098 #7B41C3

Accessibility & contrast

On white

12.76
#412169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#412169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412169
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412169#FFFFFF#000000##FFFFFF
##4121691.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326B
Deuteranopia (green-blind)
#013267
Tritanopia (blue-blind)
#383142
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412169;
/* rgb */ color: rgb(65, 33, 105);
/* oklch */ color: oklch(33.2% 0.120 300.3);
Tailwind
colors: {
  custom: {
    50: '#795e94',
    500: '#412169',
    950: '#000000',
  },
}
SCSS
$custom: #412169;
$custom-light: #795e94;
$custom-dark: #000000;
JSON
{
  "hex": "#412169",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 105
  },
  "hsl": {
    "h": 266.667,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33218,
    "c": 0.12043,
    "h": 300.3
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#412169
secondary
#789D49
accent
#DC4C9C
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #412169

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

Preview Lab → · Contrast checker → · Palette generator →

#412169 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva