#412691#412691

#412691 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.164 H 287.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#412691
RGBrgb(65, 38, 145)
HSLhsl(255, 58%, 36%)
HSVhsv(255, 74%, 57%)
CMYKcmyk(55.2%, 73.8%, 0%, 43.1%)
CIE-LABlab(25.42, 40.41, -54.60)
CIE-LCHlch(25.42, 67.93, 306.50°)
OKLaboklab(37.49% 0.0485 -0.157)
OKLCHoklch(37.49% 0.164 287.1)
XYZxyz(7.9824, 4.5540, 27.2410)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412691 #769126
analogous
#264091 #412691 #762691
triadic
#412691 #914126 #269141
tetradic
#412691 #912640 #769126 #269176
square
#412691 #912640 #769126 #269176
split-complementary
#412691 #917626 #409126
monochromatic
#160D30 #2B1961 #412691 #5733C1 #7B5DD5

Accessibility & contrast

On white

10.99
#412691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#412691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412691
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412691#FFFFFF#000000##FFFFFF
##4126911.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#204359
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412691;
/* rgb */ color: rgb(65, 38, 145);
/* oklch */ color: oklch(37.5% 0.164 287.1);
Tailwind
colors: {
  custom: {
    50: '#7f63b2',
    500: '#412691',
    950: '#000000',
  },
}
SCSS
$custom: #412691;
$custom-light: #7f63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412691",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 255.14,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37493,
    "c": 0.16432,
    "h": 287.1
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#412691
secondary
#A1BA59
accent
#E246BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412691

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

Preview Lab → · Contrast checker → · Palette generator →

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