#412192#412192

#412192 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.171 H 287.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#412192
RGBrgb(65, 33, 146)
HSLhsl(257, 63%, 35%)
HSVhsv(257, 77%, 57%)
CMYKcmyk(55.5%, 77.4%, 0%, 42.7%)
CIE-LABlab(24.60, 43.32, -56.58)
CIE-LCHlch(24.60, 71.26, 307.44°)
OKLaboklab(36.94% 0.0523 -0.1628)
OKLCHoklch(36.94% 0.171 287.8)
XYZxyz(7.9106, 4.2864, 27.5991)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412192 #729221
analogous
#213A92 #412192 #792192
triadic
#412192 #924121 #219241
tetradic
#412192 #92213A #729221 #219279
square
#412192 #92213A #729221 #219279
split-complementary
#412192 #927921 #3A9221
monochromatic
#150A2E #2B1660 #412192 #572CC4 #7A55D9

Accessibility & contrast

On white

11.31
#412192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#412192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412192
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412192#FFFFFF#000000##FFFFFF
##4121921.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#1F4158
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #412192;
/* rgb */ color: rgb(65, 33, 146);
/* oklch */ color: oklch(36.9% 0.171 287.8);
Tailwind
colors: {
  custom: {
    50: '#7f60b3',
    500: '#412192',
    950: '#000000',
  },
}
SCSS
$custom: #412192;
$custom-light: #7f60b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412192",
  "rgb": {
    "r": 65,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 256.991,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36939,
    "c": 0.17096,
    "h": 287.8
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#412192
secondary
#9EBC53
accent
#E642B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412192

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

Preview Lab → · Contrast checker → · Palette generator →

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