#412181#412181

#412181 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.150 H 292.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#412181
RGBrgb(65, 33, 129)
HSLhsl(260, 59%, 32%)
HSVhsv(260, 74%, 51%)
CMYKcmyk(49.6%, 74.4%, 0%, 49.4%)
CIE-LABlab(22.99, 38.35, -48.60)
CIE-LCHlch(22.99, 61.91, 308.28°)
OKLaboklab(35.31% 0.0567 -0.1394)
OKLCHoklch(35.31% 0.15 292.1)
XYZxyz(6.6852, 3.7963, 21.1451)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412181 #618121
analogous
#213181 #412181 #712181
triadic
#412181 #814121 #218141
tetradic
#412181 #812131 #618121 #218171
square
#412181 #812131 #618121 #218171
split-complementary
#412181 #817121 #318121
monochromatic
#100820 #281550 #412181 #5A2DB2 #784BD1

Accessibility & contrast

On white

11.94
#412181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#412181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412181
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412181#FFFFFF#000000##FFFFFF
##4121811.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#2D3A4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #412181;
/* rgb */ color: rgb(65, 33, 129);
/* oklch */ color: oklch(35.3% 0.150 292.1);
Tailwind
colors: {
  custom: {
    50: '#7c5fa6',
    500: '#412181',
    950: '#000000',
  },
}
SCSS
$custom: #412181;
$custom-light: #7c5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#412181",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 260,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35311,
    "c": 0.15047,
    "h": 292.1
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

primary
#412181
secondary
#90B44A
accent
#E245AE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #412181

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

Preview Lab → · Contrast checker → · Palette generator →

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