#412281#412281

#412281 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.149 H 291.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#412281
RGBrgb(65, 34, 129)
HSLhsl(260, 58%, 32%)
HSVhsv(260, 74%, 51%)
CMYKcmyk(49.6%, 73.6%, 0%, 49.4%)
CIE-LABlab(23.18, 37.81, -48.29)
CIE-LCHlch(23.18, 61.33, 308.06°)
OKLaboklab(35.45% 0.0557 -0.1385)
OKLCHoklch(35.45% 0.149 291.9)
XYZxyz(6.7133, 3.8526, 21.1545)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412281 #628122
analogous
#223381 #412281 #712281
triadic
#412281 #814122 #228141
tetradic
#412281 #812233 #628122 #228171
square
#412281 #812233 #628122 #228171
split-complementary
#412281 #817122 #338122
monochromatic
#100820 #291551 #412281 #592FB1 #784DD0

Accessibility & contrast

On white

11.86
#412281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#412281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412281
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412281#FFFFFF#000000##FFFFFF
##4122811.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412281;
/* rgb */ color: rgb(65, 34, 129);
/* oklch */ color: oklch(35.4% 0.149 291.9);
Tailwind
colors: {
  custom: {
    50: '#7c60a6',
    500: '#412281',
    950: '#000000',
  },
}
SCSS
$custom: #412281;
$custom-light: #7c60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#412281",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 259.579,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35448,
    "c": 0.14926,
    "h": 291.9
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#412281
secondary
#91B34B
accent
#E146AF
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #412281

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

Preview Lab → · Contrast checker → · Palette generator →

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