#412BA9#412BA9

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

Color values

HEX#412BA9
RGBrgb(65, 43, 169)
HSLhsl(250, 59%, 42%)
HSVhsv(250, 75%, 66%)
CMYKcmyk(61.5%, 74.6%, 0%, 33.7%)
CIE-LABlab(28.68, 45.03, -63.89)
CIE-LCHlch(28.68, 78.16, 305.18°)
OKLaboklab(40.5% 0.039 -0.1842)
OKLCHoklch(40.5% 0.188 281.9)
XYZxyz(10.2030, 5.7154, 38.0940)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BA9 #93A92B
analogous
#2B54A9 #412BA9 #802BA9
triadic
#412BA9 #A9412B #2BA941
tetradic
#412BA9 #A92B54 #93A92B #2BA980
square
#412BA9 #A92B54 #93A92B #2BA980
split-complementary
#412BA9 #A9802B #54A92B
monochromatic
#1B1247 #2E1F78 #412BA9 #5B42CF #8573DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412BA9#FFFFFF#000000##FFFFFF
##412BA91.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)
#0048AD
Deuteranopia (green-blind)
#003FA7
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412ba9;
/* rgb */ color: rgb(65, 43, 169);
/* oklch */ color: oklch(40.5% 0.188 281.9);
Tailwind
colors: {
  custom: {
    50: '#8267c4',
    500: '#412ba9',
    950: '#000000',
  },
}
SCSS
$custom: #412ba9;
$custom-light: #8267c4;
$custom-dark: #000000;
JSON
{
  "hex": "#412ba9",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 250.476,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.18829,
    "h": 281.9
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#412BA9
secondary
#B4C36D
accent
#E345C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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