#412164#412164

#412164 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.8% C 0.114 H 302.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#412164
RGBrgb(65, 33, 100)
HSLhsl(269, 50%, 26%)
HSVhsv(269, 67%, 39%)
CMYKcmyk(35%, 67%, 0%, 60.8%)
CIE-LABlab(20.56, 30.04, -33.89)
CIE-LCHlch(20.56, 45.28, 311.56°)
OKLaboklab(32.82% 0.0613 -0.0961)
OKLCHoklch(32.82% 0.114 302.5)
XYZxyz(5.0235, 3.1316, 12.3939)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412164 #446421
analogous
#212264 #412164 #622164
triadic
#412164 #644121 #216441
tetradic
#412164 #642122 #446421 #216462
square
#412164 #642122 #446421 #216462
split-complementary
#412164 #646221 #226421
monochromatic
#0F0817 #231236 #412164 #5F3092 #7D40C0

Accessibility & contrast

On white

12.91
#412164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#412164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412164
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412164#FFFFFF#000000##FFFFFF
##4121641.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#0B3163
Tritanopia (blue-blind)
#3A2F3F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #412164;
/* rgb */ color: rgb(65, 33, 100);
/* oklch */ color: oklch(32.8% 0.114 302.5);
Tailwind
colors: {
  custom: {
    50: '#795e91',
    500: '#412164',
    950: '#000000',
  },
}
SCSS
$custom: #412164;
$custom-light: #795e91;
$custom-dark: #000000;
JSON
{
  "hex": "#412164",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 268.657,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32818,
    "c": 0.11401,
    "h": 302.5
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#412164
secondary
#729849
accent
#DA4E97
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #412164

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

Preview Lab → · Contrast checker → · Palette generator →

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