#412DA5#412DA5

#412DA5 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.181 H 282.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#412DA5
RGBrgb(65, 45, 165)
HSLhsl(250, 57%, 41%)
HSVhsv(250, 73%, 65%)
CMYKcmyk(60.6%, 72.7%, 0%, 35.3%)
CIE-LABlab(28.69, 42.70, -61.47)
CIE-LCHlch(28.69, 74.85, 304.79°)
OKLaboklab(40.38% 0.0384 -0.1772)
OKLCHoklch(40.38% 0.181 282.2)
XYZxyz(9.9078, 5.7165, 36.1713)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DA5 #91A52D
analogous
#2D55A5 #412DA5 #7D2DA5
triadic
#412DA5 #A5412D #2DA541
tetradic
#412DA5 #A52D55 #91A52D #2DA57D
square
#412DA5 #A52D55 #91A52D #2DA57D
split-complementary
#412DA5 #A57D2D #55A52D
monochromatic
#1B1345 #2E2075 #412DA5 #5A43CC #8473D9

Accessibility & contrast

On white

9.80
#412DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#412DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DA5
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DA5#FFFFFF#000000##FFFFFF
##412DA51.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412da5;
/* rgb */ color: rgb(65, 45, 165);
/* oklch */ color: oklch(40.4% 0.181 282.2);
Tailwind
colors: {
  custom: {
    50: '#8268c1',
    500: '#412da5',
    950: '#000000',
  },
}
SCSS
$custom: #412da5;
$custom-light: #8268c1;
$custom-dark: #000000;
JSON
{
  "hex": "#412da5",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 250,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40383,
    "c": 0.18127,
    "h": 282.2
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#412DA5
secondary
#B3C16D
accent
#E047C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #412DA5

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

Preview Lab → · Contrast checker → · Palette generator →

#412DA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva