#412481#412481

#412481 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.147 H 291.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#412481
RGBrgb(65, 36, 129)
HSLhsl(259, 56%, 32%)
HSVhsv(259, 72%, 51%)
CMYKcmyk(49.6%, 72.1%, 0%, 49.4%)
CIE-LABlab(23.57, 36.71, -47.64)
CIE-LCHlch(23.57, 60.15, 307.62°)
OKLaboklab(35.73% 0.0537 -0.1366)
OKLCHoklch(35.73% 0.147 291.5)
XYZxyz(6.7722, 3.9703, 21.1741)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412481 #648124
analogous
#243581 #412481 #702481
triadic
#412481 #814124 #248141
tetradic
#412481 #812435 #648124 #248170
square
#412481 #812435 #648124 #248170
split-complementary
#412481 #817024 #358124
monochromatic
#110921 #291751 #412481 #5931B1 #7851CE

Accessibility & contrast

On white

11.70
#412481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#412481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412481
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412481#FFFFFF#000000##FFFFFF
##4124811.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#2D3C4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412481;
/* rgb */ color: rgb(65, 36, 129);
/* oklch */ color: oklch(35.7% 0.147 291.5);
Tailwind
colors: {
  custom: {
    50: '#7c61a6',
    500: '#412481',
    950: '#000000',
  },
}
SCSS
$custom: #412481;
$custom-light: #7c61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#412481",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 258.71,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35729,
    "c": 0.14678,
    "h": 291.5
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#412481
secondary
#93B24E
accent
#E048B0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #412481

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

Preview Lab → · Contrast checker → · Palette generator →

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