#412295#412295

#412295 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.173 H 287.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#412295
RGBrgb(65, 34, 149)
HSLhsl(256, 63%, 36%)
HSVhsv(256, 77%, 58%)
CMYKcmyk(56.4%, 77.2%, 0%, 41.6%)
CIE-LABlab(25.07, 43.69, -57.66)
CIE-LCHlch(25.07, 72.34, 307.16°)
OKLaboklab(37.36% 0.0507 -0.1659)
OKLCHoklch(37.36% 0.174 287)
XYZxyz(8.1752, 4.4374, 28.8537)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412295 #769522
analogous
#223C95 #412295 #7A2295
triadic
#412295 #954122 #229541
tetradic
#412295 #95223C #769522 #22957A
square
#412295 #95223C #769522 #22957A
split-complementary
#412295 #957A22 #3C9522
monochromatic
#160B31 #2B1763 #412295 #572DC7 #7B58D9

Accessibility & contrast

On white

11.13
#412295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412295
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412295#FFFFFF#000000##FFFFFF
##4122951.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#1C425A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412295;
/* rgb */ color: rgb(65, 34, 149);
/* oklch */ color: oklch(37.4% 0.173 287.0);
Tailwind
colors: {
  custom: {
    50: '#8061b5',
    500: '#412295',
    950: '#000000',
  },
}
SCSS
$custom: #412295;
$custom-light: #8061b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412295",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 256.174,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37359,
    "c": 0.1735,
    "h": 287
  },
  "luminance": 0.04438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412295

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

Preview Lab → · Contrast checker → · Palette generator →

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