#412062#412062

#412062 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.5% C 0.113 H 303.7°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#412062
RGBrgb(65, 32, 98)
HSLhsl(270, 51%, 25%)
HSVhsv(270, 67%, 38%)
CMYKcmyk(33.7%, 67.3%, 0%, 61.6%)
CIE-LABlab(20.20, 30.07, -33.16)
CIE-LCHlch(20.20, 44.77, 312.20°)
OKLaboklab(32.51% 0.0628 -0.094)
OKLCHoklch(32.51% 0.113 303.7)
XYZxyz(4.9006, 3.0387, 11.8813)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412062 #416220
analogous
#202062 #412062 #622062
triadic
#412062 #624120 #206241
tetradic
#412062 #622020 #416220 #206262
square
#412062 #622020 #416220 #206262
split-complementary
#412062 #626220 #206220
monochromatic
#0F0817 #221134 #412062 #602F90 #7E3EBE

Accessibility & contrast

On white

13.06
#412062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#412062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412062
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412062#FFFFFF#000000##FFFFFF
##4120621.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#0D3161
Tritanopia (blue-blind)
#3B2E3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #412062;
/* rgb */ color: rgb(65, 32, 98);
/* oklch */ color: oklch(32.5% 0.113 303.7);
Tailwind
colors: {
  custom: {
    50: '#795e8f',
    500: '#412062',
    950: '#000000',
  },
}
SCSS
$custom: #412062;
$custom-light: #795e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#412062",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 270,
    "s": 50.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32506,
    "c": 0.11303,
    "h": 303.7
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#412062
secondary
#6F9647
accent
#DA4E94
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #412062

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

Preview Lab → · Contrast checker → · Palette generator →

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