#412396#412396

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

Color values

HEX#412396
RGBrgb(65, 35, 150)
HSLhsl(256, 62%, 36%)
HSVhsv(256, 77%, 59%)
CMYKcmyk(56.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(25.34, 43.48, -57.82)
CIE-LCHlch(25.34, 72.35, 306.95°)
OKLaboklab(37.58% 0.0496 -0.1664)
OKLCHoklch(37.58% 0.174 286.6)
XYZxyz(8.2844, 4.5274, 29.2856)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412396 #789623
analogous
#233F96 #412396 #7B2396
triadic
#412396 #964123 #239641
tetradic
#412396 #96233F #789623 #23967B
square
#412396 #96233F #789623 #23967B
split-complementary
#412396 #967B23 #3F9623
monochromatic
#160C33 #2B1764 #412396 #572FC8 #7C5BD9

Accessibility & contrast

On white

11.02
#412396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412396
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412396#FFFFFF#000000##FFFFFF
##4123961.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412396;
/* rgb */ color: rgb(65, 35, 150);
/* oklch */ color: oklch(37.6% 0.174 286.6);
Tailwind
colors: {
  custom: {
    50: '#8062b6',
    500: '#412396',
    950: '#000000',
  },
}
SCSS
$custom: #412396;
$custom-light: #8062b6;
$custom-dark: #000000;
JSON
{
  "hex": "#412396",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 255.652,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37582,
    "c": 0.17366,
    "h": 286.6
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#412396
secondary
#A3BD58
accent
#E543BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412396

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

Preview Lab → · Contrast checker → · Palette generator →

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