#412BAD#412BAD

#412BAD is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.193 H 281.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#412BAD
RGBrgb(65, 43, 173)
HSLhsl(250, 60%, 42%)
HSVhsv(250, 75%, 68%)
CMYKcmyk(62.4%, 75.1%, 0%, 32.2%)
CIE-LABlab(29.08, 46.26, -65.64)
CIE-LCHlch(29.08, 80.30, 305.17°)
OKLaboklab(40.89% 0.038 -0.1893)
OKLCHoklch(40.89% 0.193 281.3)
XYZxyz(10.5843, 5.8679, 40.1019)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BAD #97AD2B
analogous
#2B56AD #412BAD #822BAD
triadic
#412BAD #AD412B #2BAD41
tetradic
#412BAD #AD2B56 #97AD2B #2BAD82
square
#412BAD #AD2B56 #97AD2B #2BAD82
split-complementary
#412BAD #AD822B #56AD2B
monochromatic
#1C134B #2F1F7C #412BAD #5C45D1 #8776DD

Accessibility & contrast

On white

9.66
#412BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#412BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BAD
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BAD#FFFFFF#000000##FFFFFF
##412BAD1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412bad;
/* rgb */ color: rgb(65, 43, 173);
/* oklch */ color: oklch(40.9% 0.193 281.3);
Tailwind
colors: {
  custom: {
    50: '#8367c7',
    500: '#412bad',
    950: '#000000',
  },
}
SCSS
$custom: #412bad;
$custom-light: #8367c7;
$custom-dark: #000000;
JSON
{
  "hex": "#412bad",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 250.154,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40895,
    "c": 0.19313,
    "h": 281.3
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#412BAD
secondary
#B6C46F
accent
#E344C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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