#413CA7#413CA7

#413CA7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.166 H 278.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#413CA7
RGBrgb(65, 60, 167)
HSLhsl(243, 47%, 45%)
HSVhsv(243, 64%, 65%)
CMYKcmyk(61.1%, 64.1%, 0%, 34.5%)
CIE-LABlab(32.13, 34.47, -57.03)
CIE-LCHlch(32.13, 66.64, 301.15°)
OKLaboklab(42.92% 0.0256 -0.1641)
OKLCHoklch(42.92% 0.166 278.8)
XYZxyz(10.7687, 7.1448, 37.3633)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413CA7 #A2A73C
analogous
#3C6CA7 #413CA7 #773CA7
triadic
#413CA7 #A7413C #3CA741
tetradic
#413CA7 #A73C6C #A2A73C #3CA777
square
#413CA7 #A73C6C #A2A73C #3CA777
split-complementary
#413CA7 #A7773C #6CA73C
monochromatic
#1E1C4D #2F2C7A #413CA7 #615CC4 #8C89D5

Accessibility & contrast

On white

8.64
#413CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#413CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413CA7
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413CA7#FFFFFF#000000##FFFFFF
##413CA71.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #413ca7;
/* rgb */ color: rgb(65, 60, 167);
/* oklch */ color: oklch(42.9% 0.166 278.8);
Tailwind
colors: {
  custom: {
    50: '#8172c2',
    500: '#413ca7',
    950: '#000000',
  },
}
SCSS
$custom: #413ca7;
$custom-light: #8172c2;
$custom-dark: #000000;
JSON
{
  "hex": "#413ca7",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 242.804,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42923,
    "c": 0.16613,
    "h": 278.8
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#413CA7
secondary
#BCBF80
accent
#D751D1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #413CA7

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

Preview Lab → · Contrast checker → · Palette generator →

#413CA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva