#412495#412495

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

Color values

HEX#412495
RGBrgb(65, 36, 149)
HSLhsl(255, 61%, 36%)
HSVhsv(255, 76%, 58%)
CMYKcmyk(56.4%, 75.8%, 0%, 41.6%)
CIE-LABlab(25.43, 42.67, -57.07)
CIE-LCHlch(25.43, 71.26, 306.79°)
OKLaboklab(37.61% 0.0491 -0.1642)
OKLCHoklch(37.61% 0.171 286.7)
XYZxyz(8.2340, 4.5550, 28.8733)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412495 #789524
analogous
#244095 #412495 #7A2495
triadic
#412495 #954124 #249541
tetradic
#412495 #952440 #789524 #24957A
square
#412495 #952440 #789524 #24957A
split-complementary
#412495 #957A24 #409524
monochromatic
#160C32 #2B1864 #412495 #5730C6 #7C5CD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412495#FFFFFF#000000##FFFFFF
##4124951.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)
#003F98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#1B435B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412495;
/* rgb */ color: rgb(65, 36, 149);
/* oklch */ color: oklch(37.6% 0.171 286.7);
Tailwind
colors: {
  custom: {
    50: '#7f62b5',
    500: '#412495',
    950: '#000000',
  },
}
SCSS
$custom: #412495;
$custom-light: #7f62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#412495",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 255.398,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37612,
    "c": 0.17141,
    "h": 286.7
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#412495
secondary
#A3BC59
accent
#E444BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412495

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

Preview Lab → · Contrast checker → · Palette generator →

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