#412099#412099

#412099 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.180 H 286.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#412099
RGBrgb(65, 32, 153)
HSLhsl(256, 65%, 36%)
HSVhsv(256, 79%, 60%)
CMYKcmyk(57.5%, 79.1%, 0%, 40%)
CIE-LABlab(25.13, 45.84, -60.02)
CIE-LCHlch(25.13, 75.52, 307.37°)
OKLaboklab(37.52% 0.051 -0.1728)
OKLCHoklch(37.52% 0.18 286.4)
XYZxyz(8.4445, 4.4563, 30.5460)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412099 #789920
analogous
#203C99 #412099 #7E2099
triadic
#412099 #994120 #209941
tetradic
#412099 #99203C #789920 #20997E
square
#412099 #99203C #789920 #20997E
split-complementary
#412099 #997E20 #3C9920
monochromatic
#160B34 #2B1566 #412099 #572BCC #7C57DC

Accessibility & contrast

On white

11.10
#412099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412099
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412099#FFFFFF#000000##FFFFFF
##4120991.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#17435C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412099;
/* rgb */ color: rgb(65, 32, 153);
/* oklch */ color: oklch(37.5% 0.180 286.4);
Tailwind
colors: {
  custom: {
    50: '#8060b8',
    500: '#412099',
    950: '#000000',
  },
}
SCSS
$custom: #412099;
$custom-light: #8060b8;
$custom-dark: #000000;
JSON
{
  "hex": "#412099",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 256.364,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3752,
    "c": 0.18018,
    "h": 286.4
  },
  "luminance": 0.04457
}

Semantic roles & 50–950 ramp

primary
#412099
secondary
#A3C055
accent
#E83FBA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412099

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

Preview Lab → · Contrast checker → · Palette generator →

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