#412692#412692

#412692 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.166 H 286.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#412692
RGBrgb(65, 38, 146)
HSLhsl(255, 59%, 36%)
HSVhsv(255, 74%, 57%)
CMYKcmyk(55.5%, 74%, 0%, 42.7%)
CIE-LABlab(25.52, 40.71, -55.07)
CIE-LCHlch(25.52, 68.48, 306.48°)
OKLaboklab(37.59% 0.0482 -0.1584)
OKLCHoklch(37.59% 0.166 286.9)
XYZxyz(8.0598, 4.5849, 27.6488)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412692 #779226
analogous
#264192 #412692 #772692
triadic
#412692 #924126 #269241
tetradic
#412692 #922641 #779226 #269277
square
#412692 #922641 #779226 #269277
split-complementary
#412692 #927726 #419226
monochromatic
#160D31 #2B1961 #412692 #5733C3 #7B5DD5

Accessibility & contrast

On white

10.95
#412692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#412692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412692
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412692#FFFFFF#000000##FFFFFF
##4126921.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412692;
/* rgb */ color: rgb(65, 38, 146);
/* oklch */ color: oklch(37.6% 0.166 286.9);
Tailwind
colors: {
  custom: {
    50: '#7f63b3',
    500: '#412692',
    950: '#000000',
  },
}
SCSS
$custom: #412692;
$custom-light: #7f63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412692",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 146
  },
  "hsl": {
    "h": 255,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.16556,
    "h": 286.9
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#412692
secondary
#A2BA5A
accent
#E246BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412692

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

Preview Lab → · Contrast checker → · Palette generator →

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