#412595#412595

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

Color values

HEX#412595
RGBrgb(65, 37, 149)
HSLhsl(255, 60%, 36%)
HSVhsv(255, 75%, 58%)
CMYKcmyk(56.4%, 75.2%, 0%, 41.6%)
CIE-LABlab(25.61, 42.15, -56.76)
CIE-LCHlch(25.61, 70.70, 306.60°)
OKLaboklab(37.74% 0.0483 -0.1633)
OKLCHoklch(37.74% 0.17 286.5)
XYZxyz(8.2647, 4.6164, 28.8835)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412595 #799525
analogous
#254195 #412595 #792595
triadic
#412595 #954125 #259541
tetradic
#412595 #952541 #799525 #259579
square
#412595 #952541 #799525 #259579
split-complementary
#412595 #957925 #419525
monochromatic
#160D33 #2C1964 #412595 #5631C6 #7C5ED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412595#FFFFFF#000000##FFFFFF
##4125951.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)
#003F98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#1B445B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412595;
/* rgb */ color: rgb(65, 37, 149);
/* oklch */ color: oklch(37.7% 0.170 286.5);
Tailwind
colors: {
  custom: {
    50: '#7f63b5',
    500: '#412595',
    950: '#000000',
  },
}
SCSS
$custom: #412595;
$custom-light: #7f63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412595",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 255,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37742,
    "c": 0.17033,
    "h": 286.5
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#412595
secondary
#A3BC5A
accent
#E344BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412595

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

Preview Lab → · Contrast checker → · Palette generator →

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