#413F97#413F97

#413F97 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.140 H 279.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#413F97
RGBrgb(65, 63, 151)
HSLhsl(241, 41%, 42%)
HSVhsv(241, 58%, 59%)
CMYKcmyk(57%, 58.3%, 0%, 40.8%)
CIE-LABlab(31.61, 27.18, -48.21)
CIE-LCHlch(31.61, 55.34, 299.41°)
OKLaboklab(42.14% 0.0232 -0.1382)
OKLCHoklch(42.14% 0.14 279.5)
XYZxyz(9.5416, 6.9126, 30.1036)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413F97 #95973F
analogous
#3F6997 #413F97 #6D3F97
triadic
#413F97 #97413F #3F9741
tetradic
#413F97 #973F69 #95973F #3F976D
square
#413F97 #973F69 #95973F #3F976D
split-complementary
#413F97 #976D3F #69973F
monochromatic
#1C1B41 #2E2D6C #413F97 #5C59BA #8685CC

Accessibility & contrast

On white

8.81
#413F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#413F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413F97
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413F97#FFFFFF#000000##FFFFFF
##413F971.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#145464
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #413f97;
/* rgb */ color: rgb(65, 63, 151);
/* oklch */ color: oklch(42.1% 0.140 279.5);
Tailwind
colors: {
  custom: {
    50: '#7e74b6',
    500: '#413f97',
    950: '#000000',
  },
}
SCSS
$custom: #413f97;
$custom-light: #7e74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#413f97",
  "rgb": {
    "r": 65,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 241.364,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42139,
    "c": 0.14014,
    "h": 279.5
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#413F97
secondary
#B5B67C
accent
#D157CE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #413F97

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

Preview Lab → · Contrast checker → · Palette generator →

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