#412296#412296

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

Color values

HEX#412296
RGBrgb(65, 34, 150)
HSLhsl(256, 63%, 36%)
HSVhsv(256, 77%, 59%)
CMYKcmyk(56.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(25.17, 43.99, -58.11)
CIE-LCHlch(25.17, 72.88, 307.13°)
OKLaboklab(37.46% 0.0504 -0.1673)
OKLCHoklch(37.46% 0.175 286.8)
XYZxyz(8.2554, 4.4694, 29.2759)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412296 #779622
analogous
#223D96 #412296 #7B2296
triadic
#412296 #964122 #229641
tetradic
#412296 #96223D #779622 #22967B
square
#412296 #96223D #779622 #22967B
split-complementary
#412296 #967B22 #3D9622
monochromatic
#160B32 #2B1764 #412296 #572DC8 #7B59D9

Accessibility & contrast

On white

11.09
#412296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412296
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412296#FFFFFF#000000##FFFFFF
##4122961.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#1A435B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412296;
/* rgb */ color: rgb(65, 34, 150);
/* oklch */ color: oklch(37.5% 0.175 286.8);
Tailwind
colors: {
  custom: {
    50: '#8061b6',
    500: '#412296',
    950: '#000000',
  },
}
SCSS
$custom: #412296;
$custom-light: #8061b6;
$custom-dark: #000000;
JSON
{
  "hex": "#412296",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 256.034,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37458,
    "c": 0.17469,
    "h": 286.8
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#412296
secondary
#A2BE56
accent
#E642BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412296

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

Preview Lab → · Contrast checker → · Palette generator →

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