#412095#412095

#412095 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.176 H 287.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#412095
RGBrgb(65, 32, 149)
HSLhsl(257, 65%, 35%)
HSVhsv(257, 79%, 58%)
CMYKcmyk(56.4%, 78.5%, 0%, 41.6%)
CIE-LABlab(24.72, 44.68, -58.22)
CIE-LCHlch(24.72, 73.39, 307.50°)
OKLaboklab(37.12% 0.0522 -0.1676)
OKLCHoklch(37.12% 0.176 287.3)
XYZxyz(8.1197, 4.3263, 28.8352)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412095 #749520
analogous
#203995 #412095 #7B2095
triadic
#412095 #954120 #209541
tetradic
#412095 #952039 #749520 #20957B
square
#412095 #952039 #749520 #20957B
split-complementary
#412095 #957B20 #399520
monochromatic
#150A30 #2B1563 #412095 #572BC7 #7B55DA

Accessibility & contrast

On white

11.26
#412095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412095
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412095#FFFFFF#000000##FFFFFF
##4120951.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#1C415A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412095;
/* rgb */ color: rgb(65, 32, 149);
/* oklch */ color: oklch(37.1% 0.176 287.3);
Tailwind
colors: {
  custom: {
    50: '#8060b5',
    500: '#412095',
    950: '#000000',
  },
}
SCSS
$custom: #412095;
$custom-light: #8060b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412095",
  "rgb": {
    "r": 65,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 256.923,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37117,
    "c": 0.17551,
    "h": 287.3
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#412095
secondary
#A0BE53
accent
#E840B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412095

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

Preview Lab → · Contrast checker → · Palette generator →

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