#413A97#413A97

#413A97 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.147 H 281.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#413A97
RGBrgb(65, 58, 151)
HSLhsl(245, 44%, 41%)
HSVhsv(245, 62%, 59%)
CMYKcmyk(57%, 61.6%, 0%, 40.8%)
CIE-LABlab(30.36, 30.38, -50.23)
CIE-LCHlch(30.36, 58.71, 301.17°)
OKLaboklab(41.22% 0.0285 -0.1442)
OKLCHoklch(41.22% 0.147 281.2)
XYZxyz(9.2772, 6.3837, 30.0155)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413A97 #90973A
analogous
#3A6197 #413A97 #6F3A97
triadic
#413A97 #97413A #3A9741
tetradic
#413A97 #973A61 #90973A #3A976F
square
#413A97 #973A61 #90973A #3A976F
split-complementary
#413A97 #976F3A #61973A
monochromatic
#1B183F #2E296B #413A97 #5A52BC #847ECD

Accessibility & contrast

On white

9.22
#413A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#413A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413A97
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413A97#FFFFFF#000000##FFFFFF
##413A971.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#165063
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #413a97;
/* rgb */ color: rgb(65, 58, 151);
/* oklch */ color: oklch(41.2% 0.147 281.2);
Tailwind
colors: {
  custom: {
    50: '#7e70b6',
    500: '#413a97',
    950: '#000000',
  },
}
SCSS
$custom: #413a97;
$custom-light: #7e70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#413a97",
  "rgb": {
    "r": 65,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 244.516,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41219,
    "c": 0.14697,
    "h": 281.2
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#413A97
secondary
#B2B776
accent
#D454CB
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #413A97

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

Preview Lab → · Contrast checker → · Palette generator →

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