#412492#412492

#412492 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.168 H 287.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#412492
RGBrgb(65, 36, 146)
HSLhsl(256, 60%, 36%)
HSVhsv(256, 75%, 57%)
CMYKcmyk(55.5%, 75.3%, 0%, 42.7%)
CIE-LABlab(25.14, 41.78, -55.69)
CIE-LCHlch(25.14, 69.62, 306.88°)
OKLaboklab(37.32% 0.0499 -0.1602)
OKLCHoklch(37.32% 0.168 287.3)
XYZxyz(7.9976, 4.4605, 27.6281)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412492 #759224
analogous
#243E92 #412492 #782492
triadic
#412492 #924124 #249241
tetradic
#412492 #92243E #759224 #249278
square
#412492 #92243E #759224 #249278
split-complementary
#412492 #927824 #3E9224
monochromatic
#150C30 #2B1861 #412492 #5730C3 #7B5AD6

Accessibility & contrast

On white

11.10
#412492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#412492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412492
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412492#FFFFFF#000000##FFFFFF
##4124921.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#1F4259
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412492;
/* rgb */ color: rgb(65, 36, 146);
/* oklch */ color: oklch(37.3% 0.168 287.3);
Tailwind
colors: {
  custom: {
    50: '#7f62b3',
    500: '#412492',
    950: '#000000',
  },
}
SCSS
$custom: #412492;
$custom-light: #7f62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412492",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 255.818,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3732,
    "c": 0.16778,
    "h": 287.3
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#412492
secondary
#A1BB57
accent
#E444BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412492

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

Preview Lab → · Contrast checker → · Palette generator →

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