#412693#412693

#412693 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.167 H 286.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#412693
RGBrgb(65, 38, 147)
HSLhsl(255, 59%, 36%)
HSVhsv(255, 74%, 58%)
CMYKcmyk(55.8%, 74.1%, 0%, 42.4%)
CIE-LABlab(25.61, 41.01, -55.53)
CIE-LCHlch(25.61, 69.03, 306.45°)
OKLaboklab(37.68% 0.048 -0.1597)
OKLCHoklch(37.68% 0.167 286.7)
XYZxyz(8.1380, 4.6162, 28.0603)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412693 #789326
analogous
#264293 #412693 #782693
triadic
#412693 #934126 #269341
tetradic
#412693 #932642 #789326 #269378
square
#412693 #932642 #789326 #269378
split-complementary
#412693 #937826 #429326
monochromatic
#160D32 #2B1962 #412693 #5733C4 #7C5ED5

Accessibility & contrast

On white

10.92
#412693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412693
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412693#FFFFFF#000000##FFFFFF
##4126931.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#1E435A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412693;
/* rgb */ color: rgb(65, 38, 147);
/* oklch */ color: oklch(37.7% 0.167 286.7);
Tailwind
colors: {
  custom: {
    50: '#7f63b4',
    500: '#412693',
    950: '#000000',
  },
}
SCSS
$custom: #412693;
$custom-light: #7f63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412693",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 254.862,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37684,
    "c": 0.16678,
    "h": 286.7
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #412693

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

Preview Lab → · Contrast checker → · Palette generator →

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