#412679#412679

#412679 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.134 H 293.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#412679
RGBrgb(65, 38, 121)
HSLhsl(260, 52%, 31%)
HSVhsv(260, 69%, 47%)
CMYKcmyk(46.3%, 68.6%, 0%, 52.5%)
CIE-LABlab(23.31, 33.18, -43.01)
CIE-LCHlch(23.31, 54.32, 307.65°)
OKLaboklab(35.32% 0.0529 -0.123)
OKLCHoklch(35.32% 0.134 293.3)
XYZxyz(6.3233, 3.8903, 18.5032)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412679 #5E7926
analogous
#263479 #412679 #6A2679
triadic
#412679 #794126 #267941
tetradic
#412679 #792634 #5E7926 #26796A
square
#412679 #792634 #5E7926 #26796A
split-complementary
#412679 #796A26 #347926
monochromatic
#0F091C #28174A #412679 #5A35A8 #7851C8

Accessibility & contrast

On white

11.81
#412679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#412679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412679
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412679#FFFFFF#000000##FFFFFF
##4126791.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#313A4C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412679;
/* rgb */ color: rgb(65, 38, 121);
/* oklch */ color: oklch(35.3% 0.134 293.3);
Tailwind
colors: {
  custom: {
    50: '#7b62a0',
    500: '#412679',
    950: '#000000',
  },
}
SCSS
$custom: #412679;
$custom-light: #7b62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#412679",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 259.518,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35324,
    "c": 0.13388,
    "h": 293.3
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#412679
secondary
#8DAB50
accent
#DC4CAD
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #412679

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

Preview Lab → · Contrast checker → · Palette generator →

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