#412299#412299

#412299 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.178 H 286.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#412299
RGBrgb(65, 34, 153)
HSLhsl(256, 64%, 37%)
HSVhsv(256, 78%, 60%)
CMYKcmyk(57.5%, 77.8%, 0%, 40%)
CIE-LABlab(25.46, 44.87, -59.46)
CIE-LCHlch(25.46, 74.49, 307.04°)
OKLaboklab(37.76% 0.0495 -0.1712)
OKLCHoklch(37.76% 0.178 286.1)
XYZxyz(8.5000, 4.5673, 30.5645)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412299 #7A9922
analogous
#223F99 #412299 #7D2299
triadic
#412299 #994122 #229941
tetradic
#412299 #99223F #7A9922 #22997D
square
#412299 #99223F #7A9922 #22997D
split-complementary
#412299 #997D22 #3F9922
monochromatic
#160C35 #2C1767 #412299 #562DCB #7C5BDB

Accessibility & contrast

On white

10.97
#412299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#412299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412299
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412299#FFFFFF#000000##FFFFFF
##4122991.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412299;
/* rgb */ color: rgb(65, 34, 153);
/* oklch */ color: oklch(37.8% 0.178 286.1);
Tailwind
colors: {
  custom: {
    50: '#8061b8',
    500: '#412299',
    950: '#000000',
  },
}
SCSS
$custom: #412299;
$custom-light: #8061b8;
$custom-dark: #000000;
JSON
{
  "hex": "#412299",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 255.63,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37757,
    "c": 0.17824,
    "h": 286.1
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#412299
secondary
#A4BF58
accent
#E741BC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412299

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

Preview Lab → · Contrast checker → · Palette generator →

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