#412D90#412D90

#412D90 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.155 H 285.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#412D90
RGBrgb(65, 45, 144)
HSLhsl(252, 52%, 37%)
HSVhsv(252, 69%, 56%)
CMYKcmyk(54.9%, 68.7%, 0%, 43.5%)
CIE-LABlab(26.77, 36.12, -51.78)
CIE-LCHlch(26.77, 63.13, 304.90°)
OKLaboklab(38.43% 0.0422 -0.1487)
OKLCHoklch(38.43% 0.155 285.8)
XYZxyz(8.1509, 5.0138, 26.9184)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412D90 #7C902D
analogous
#2D4B90 #412D90 #732D90
triadic
#412D90 #90412D #2D9041
tetradic
#412D90 #902D4B #7C902D #2D9073
square
#412D90 #902D4B #7C902D #2D9073
split-complementary
#412D90 #90732D #4B902D
monochromatic
#171033 #2C1E61 #412D90 #563CBF #7D68D0

Accessibility & contrast

On white

10.49
#412D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#412D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412D90
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412D90#FFFFFF#000000##FFFFFF
##412D901.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#20465A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #412d90;
/* rgb */ color: rgb(65, 45, 144);
/* oklch */ color: oklch(38.4% 0.155 285.8);
Tailwind
colors: {
  custom: {
    50: '#7e67b1',
    500: '#412d90',
    950: '#000000',
  },
}
SCSS
$custom: #412d90;
$custom-light: #7e67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#412d90",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 252.121,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.15462,
    "h": 285.8
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#412D90
secondary
#A5B662
accent
#DC4CBF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412D90

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

Preview Lab → · Contrast checker → · Palette generator →

#412D90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva