#412199#412199

#412199 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.179 H 286.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#412199
RGBrgb(65, 33, 153)
HSLhsl(256, 65%, 36%)
HSVhsv(256, 78%, 60%)
CMYKcmyk(57.5%, 78.4%, 0%, 40%)
CIE-LABlab(25.29, 45.36, -59.74)
CIE-LCHlch(25.29, 75.01, 307.21°)
OKLaboklab(37.64% 0.0503 -0.172)
OKLCHoklch(37.64% 0.179 286.3)
XYZxyz(8.4719, 4.5110, 30.5551)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412199 #799921
analogous
#213D99 #412199 #7D2199
triadic
#412199 #994121 #219941
tetradic
#412199 #99213D #799921 #21997D
square
#412199 #99213D #799921 #21997D
split-complementary
#412199 #997D21 #3D9921
monochromatic
#160B34 #2C1667 #412199 #562CCB #7C59DB

Accessibility & contrast

On white

11.04
#412199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412199
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412199#FFFFFF#000000##FFFFFF
##4121991.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412199;
/* rgb */ color: rgb(65, 33, 153);
/* oklch */ color: oklch(37.6% 0.179 286.3);
Tailwind
colors: {
  custom: {
    50: '#8061b8',
    500: '#412199',
    950: '#000000',
  },
}
SCSS
$custom: #412199;
$custom-light: #8061b8;
$custom-dark: #000000;
JSON
{
  "hex": "#412199",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 256,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37637,
    "c": 0.17922,
    "h": 286.3
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#412199
secondary
#A3BF56
accent
#E840BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412199

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

Preview Lab → · Contrast checker → · Palette generator →

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