#413D97#413D97

#413D97 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.143 H 280.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#413D97
RGBrgb(65, 61, 151)
HSLhsl(243, 42%, 42%)
HSVhsv(243, 60%, 59%)
CMYKcmyk(57%, 59.6%, 0%, 40.8%)
CIE-LABlab(31.10, 28.47, -49.03)
CIE-LCHlch(31.10, 56.69, 300.14°)
OKLaboklab(41.77% 0.0254 -0.1406)
OKLCHoklch(41.77% 0.143 280.2)
XYZxyz(9.4329, 6.6951, 30.0674)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413D97 #93973D
analogous
#3D6697 #413D97 #6E3D97
triadic
#413D97 #97413D #3D9741
tetradic
#413D97 #973D66 #93973D #3D976E
square
#413D97 #973D66 #93973D #3D976E
split-complementary
#413D97 #976E3D #66973D
monochromatic
#1B1A40 #2E2B6B #413D97 #5B56BB #8582CC

Accessibility & contrast

On white

8.98
#413D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#413D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413D97
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413D97#FFFFFF#000000##FFFFFF
##413D971.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#155264
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #413d97;
/* rgb */ color: rgb(65, 61, 151);
/* oklch */ color: oklch(41.8% 0.143 280.2);
Tailwind
colors: {
  custom: {
    50: '#7e72b6',
    500: '#413d97',
    950: '#000000',
  },
}
SCSS
$custom: #413d97;
$custom-light: #7e72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#413d97",
  "rgb": {
    "r": 65,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 242.667,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41765,
    "c": 0.14289,
    "h": 280.2
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#413D97
secondary
#B4B779
accent
#D256CD
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #413D97

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

Preview Lab → · Contrast checker → · Palette generator →

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