#412695#412695

#412695 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.169 H 286.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#412695
RGBrgb(65, 38, 149)
HSLhsl(255, 59%, 37%)
HSVhsv(255, 74%, 58%)
CMYKcmyk(56.4%, 74.5%, 0%, 41.6%)
CIE-LABlab(25.80, 41.62, -56.45)
CIE-LCHlch(25.80, 70.13, 306.40°)
OKLaboklab(37.88% 0.0475 -0.1624)
OKLCHoklch(37.88% 0.169 286.3)
XYZxyz(8.2963, 4.6795, 28.8940)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412695 #7A9526
analogous
#264295 #412695 #792695
triadic
#412695 #954126 #269541
tetradic
#412695 #952642 #7A9526 #269579
square
#412695 #952642 #7A9526 #269579
split-complementary
#412695 #957926 #429526
monochromatic
#160D33 #2C1A64 #412695 #5632C6 #7C5FD6

Accessibility & contrast

On white

10.85
#412695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#412695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412695
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412695#FFFFFF#000000##FFFFFF
##4126951.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#1B445B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412695;
/* rgb */ color: rgb(65, 38, 149);
/* oklch */ color: oklch(37.9% 0.169 286.3);
Tailwind
colors: {
  custom: {
    50: '#7f63b5',
    500: '#412695',
    950: '#000000',
  },
}
SCSS
$custom: #412695;
$custom-light: #7f63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412695",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 254.595,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37875,
    "c": 0.16924,
    "h": 286.3
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#412695
secondary
#A4BB5B
accent
#E345BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412695

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

Preview Lab → · Contrast checker → · Palette generator →

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