#412279#412279

#412279 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.139 H 294.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#412279
RGBrgb(65, 34, 121)
HSLhsl(261, 56%, 30%)
HSVhsv(261, 72%, 47%)
CMYKcmyk(46.3%, 71.9%, 0%, 52.5%)
CIE-LABlab(22.47, 35.47, -44.37)
CIE-LCHlch(22.47, 56.80, 308.64°)
OKLaboklab(34.73% 0.0573 -0.127)
OKLCHoklch(34.73% 0.139 294.3)
XYZxyz(6.2023, 3.6482, 18.4628)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412279 #5A7922
analogous
#222F79 #412279 #6C2279
triadic
#412279 #794122 #227941
tetradic
#412279 #79222F #5A7922 #22796C
square
#412279 #79222F #5A7922 #22796C
split-complementary
#412279 #796C22 #2F7922
monochromatic
#0E0719 #271549 #412279 #5B2FA9 #7849CC

Accessibility & contrast

On white

12.14
#412279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#412279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412279
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412279#FFFFFF#000000##FFFFFF
##4122791.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#31384B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #412279;
/* rgb */ color: rgb(65, 34, 121);
/* oklch */ color: oklch(34.7% 0.139 294.3);
Tailwind
colors: {
  custom: {
    50: '#7b60a0',
    500: '#412279',
    950: '#000000',
  },
}
SCSS
$custom: #412279;
$custom-light: #7b60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412279",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 261.379,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34726,
    "c": 0.1393,
    "h": 294.3
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#412279
secondary
#89AC4B
accent
#DF48AA
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #412279

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

Preview Lab → · Contrast checker → · Palette generator →

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