#412285#412285

#412285 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.154 H 290.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#412285
RGBrgb(65, 34, 133)
HSLhsl(259, 59%, 33%)
HSVhsv(259, 74%, 52%)
CMYKcmyk(51.1%, 74.4%, 0%, 47.8%)
CIE-LABlab(23.54, 38.99, -50.21)
CIE-LCHlch(23.54, 63.57, 307.83°)
OKLaboklab(35.82% 0.0548 -0.1441)
OKLCHoklch(35.82% 0.154 290.8)
XYZxyz(6.9844, 3.9610, 22.5823)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412285 #668522
analogous
#223485 #412285 #722285
triadic
#412285 #854122 #228541
tetradic
#412285 #852234 #668522 #228572
square
#412285 #852234 #668522 #228572
split-complementary
#412285 #857222 #348522
monochromatic
#110924 #291654 #412285 #592EB6 #784FD2

Accessibility & contrast

On white

11.72
#412285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412285
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412285#FFFFFF#000000##FFFFFF
##4122851.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#2A3C51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #412285;
/* rgb */ color: rgb(65, 34, 133);
/* oklch */ color: oklch(35.8% 0.154 290.8);
Tailwind
colors: {
  custom: {
    50: '#7d60a9',
    500: '#412285',
    950: '#000000',
  },
}
SCSS
$custom: #412285;
$custom-light: #7d60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412285",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 258.788,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35818,
    "c": 0.15418,
    "h": 290.8
  },
  "luminance": 0.03961
}

Semantic roles & 50–950 ramp

primary
#412285
secondary
#95B64D
accent
#E245B1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412285

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

Preview Lab → · Contrast checker → · Palette generator →

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