#412284#412284

#412284 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.153 H 291.1°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#412284
RGBrgb(65, 34, 132)
HSLhsl(259, 59%, 33%)
HSVhsv(259, 74%, 52%)
CMYKcmyk(50.8%, 74.2%, 0%, 48.2%)
CIE-LABlab(23.45, 38.69, -49.73)
CIE-LCHlch(23.45, 63.01, 307.88°)
OKLaboklab(35.73% 0.055 -0.1427)
OKLCHoklch(35.73% 0.153 291.1)
XYZxyz(6.9157, 3.9335, 22.2202)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412284 #658422
analogous
#223484 #412284 #722284
triadic
#412284 #844122 #228441
tetradic
#412284 #842234 #658422 #228472
square
#412284 #842234 #658422 #228472
split-complementary
#412284 #847222 #348422
monochromatic
#110923 #291553 #412284 #592FB5 #784FD2

Accessibility & contrast

On white

11.75
#412284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412284
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412284#FFFFFF#000000##FFFFFF
##4122841.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#2B3C51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412284;
/* rgb */ color: rgb(65, 34, 132);
/* oklch */ color: oklch(35.7% 0.153 291.1);
Tailwind
colors: {
  custom: {
    50: '#7d60a9',
    500: '#412284',
    950: '#000000',
  },
}
SCSS
$custom: #412284;
$custom-light: #7d60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412284",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 258.98,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35725,
    "c": 0.15296,
    "h": 291.1
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#412284
secondary
#94B54D
accent
#E246B1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412284

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

Preview Lab → · Contrast checker → · Palette generator →

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