#412892#412892

#412892 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.163 H 286.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#412892
RGBrgb(65, 40, 146)
HSLhsl(254, 57%, 36%)
HSVhsv(254, 73%, 57%)
CMYKcmyk(55.5%, 72.6%, 0%, 42.7%)
CIE-LABlab(25.91, 39.61, -54.42)
CIE-LCHlch(25.91, 67.31, 306.05°)
OKLaboklab(37.87% 0.0465 -0.1565)
OKLCHoklch(37.87% 0.163 286.5)
XYZxyz(8.1255, 4.7163, 27.6707)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412892 #799228
analogous
#284492 #412892 #762892
triadic
#412892 #924128 #289241
tetradic
#412892 #922844 #799228 #289276
square
#412892 #922844 #799228 #289276
split-complementary
#412892 #927628 #449228
monochromatic
#160E32 #2C1B62 #412892 #5635C2 #7C61D4

Accessibility & contrast

On white

10.81
#412892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#412892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412892
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412892#FFFFFF#000000##FFFFFF
##4128921.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#1F445A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412892;
/* rgb */ color: rgb(65, 40, 146);
/* oklch */ color: oklch(37.9% 0.163 286.5);
Tailwind
colors: {
  custom: {
    50: '#7f64b3',
    500: '#412892',
    950: '#000000',
  },
}
SCSS
$custom: #412892;
$custom-light: #7f64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412892",
  "rgb": {
    "r": 65,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 254.151,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37867,
    "c": 0.16326,
    "h": 286.5
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#412892
secondary
#A3B95D
accent
#E048BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412892

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

Preview Lab → · Contrast checker → · Palette generator →

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