#412462#412462

#412462 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.1% C 0.107 H 302.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#412462
RGBrgb(65, 36, 98)
HSLhsl(268, 46%, 26%)
HSVhsv(268, 63%, 38%)
CMYKcmyk(33.7%, 63.3%, 0%, 61.6%)
CIE-LABlab(21.08, 27.69, -31.74)
CIE-LCHlch(21.08, 42.11, 311.10°)
OKLaboklab(33.15% 0.0573 -0.0898)
OKLCHoklch(33.15% 0.107 302.5)
XYZxyz(5.0149, 3.2674, 11.9194)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412462 #456224
analogous
#242662 #412462 #602462
triadic
#412462 #624124 #246241
tetradic
#412462 #622426 #456224 #246260
square
#412462 #622426 #456224 #246260
split-complementary
#412462 #626024 #266224
monochromatic
#0F0816 #231435 #412462 #5F348F #7C46BB

Accessibility & contrast

On white

12.70
#412462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412462
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412462#FFFFFF#000000##FFFFFF
##4124621.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053264
Deuteranopia (green-blind)
#143261
Tritanopia (blue-blind)
#3B313F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #412462;
/* rgb */ color: rgb(65, 36, 98);
/* oklch */ color: oklch(33.1% 0.107 302.5);
Tailwind
colors: {
  custom: {
    50: '#78608f',
    500: '#412462',
    950: '#000000',
  },
}
SCSS
$custom: #412462;
$custom-light: #78608f;
$custom-dark: #000000;
JSON
{
  "hex": "#412462",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 98
  },
  "hsl": {
    "h": 268.065,
    "s": 46.269,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3315,
    "c": 0.10654,
    "h": 302.5
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#412462
secondary
#73954C
accent
#D65298
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #412462

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

Preview Lab → · Contrast checker → · Palette generator →

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