#412762#412762

#412762 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.7% C 0.101 H 301.5°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#412762
RGBrgb(65, 39, 98)
HSLhsl(266, 43%, 27%)
HSVhsv(266, 60%, 38%)
CMYKcmyk(33.7%, 60.2%, 0%, 61.6%)
CIE-LABlab(21.79, 25.83, -30.61)
CIE-LCHlch(21.79, 40.05, 310.16°)
OKLaboklab(33.67% 0.053 -0.0865)
OKLCHoklch(33.67% 0.101 301.5)
XYZxyz(5.1096, 3.4567, 11.9509)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412762 #486227
analogous
#272A62 #412762 #5F2762
triadic
#412762 #624127 #276241
tetradic
#412762 #62272A #486227 #27625F
square
#412762 #62272A #486227 #27625F
split-complementary
#412762 #625F27 #2A6227
monochromatic
#0F0916 #241636 #412762 #5E388E #7B4CB8

Accessibility & contrast

On white

12.42
#412762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#412762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412762
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412762#FFFFFF#000000##FFFFFF
##4127621.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3464
Deuteranopia (green-blind)
#183461
Tritanopia (blue-blind)
#3A3340
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #412762;
/* rgb */ color: rgb(65, 39, 98);
/* oklch */ color: oklch(33.7% 0.101 301.5);
Tailwind
colors: {
  custom: {
    50: '#78628f',
    500: '#412762',
    950: '#000000',
  },
}
SCSS
$custom: #412762;
$custom-light: #78628f;
$custom-dark: #000000;
JSON
{
  "hex": "#412762",
  "rgb": {
    "r": 65,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 266.441,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33665,
    "c": 0.10149,
    "h": 301.5
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#412762
secondary
#769550
accent
#D3559B
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #412762

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

Preview Lab → · Contrast checker → · Palette generator →

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