#412195#412195

#412195 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.175 H 287.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#412195
RGBrgb(65, 33, 149)
HSLhsl(257, 64%, 36%)
HSVhsv(257, 78%, 58%)
CMYKcmyk(56.4%, 77.9%, 0%, 41.6%)
CIE-LABlab(24.89, 44.19, -57.94)
CIE-LCHlch(24.89, 72.87, 307.33°)
OKLaboklab(37.24% 0.0514 -0.1668)
OKLCHoklch(37.24% 0.175 287.1)
XYZxyz(8.1470, 4.3810, 28.8443)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412195 #759521
analogous
#213B95 #412195 #7B2195
triadic
#412195 #954121 #219541
tetradic
#412195 #95213B #759521 #21957B
square
#412195 #95213B #759521 #21957B
split-complementary
#412195 #957B21 #3B9521
monochromatic
#150B31 #2B1663 #412195 #572CC7 #7B57DA

Accessibility & contrast

On white

11.19
#412195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412195
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412195#FFFFFF#000000##FFFFFF
##4121951.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.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: #412195;
/* rgb */ color: rgb(65, 33, 149);
/* oklch */ color: oklch(37.2% 0.175 287.1);
Tailwind
colors: {
  custom: {
    50: '#8060b5',
    500: '#412195',
    950: '#000000',
  },
}
SCSS
$custom: #412195;
$custom-light: #8060b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412195",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 256.552,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37236,
    "c": 0.17451,
    "h": 287.1
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#412195
secondary
#A1BE54
accent
#E741B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412195

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

Preview Lab → · Contrast checker → · Palette generator →

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