#413C98#413C98

#413C98 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.146 H 280.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#413C98
RGBrgb(65, 60, 152)
HSLhsl(243, 43%, 42%)
HSVhsv(243, 61%, 60%)
CMYKcmyk(57.2%, 60.5%, 0%, 40.4%)
CIE-LABlab(30.93, 29.44, -49.92)
CIE-LCHlch(30.93, 57.95, 300.53°)
OKLaboklab(41.66% 0.0264 -0.1432)
OKLCHoklch(41.66% 0.146 280.4)
XYZxyz(9.4616, 6.6219, 30.4793)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413C98 #93983C
analogous
#3C6598 #413C98 #6F3C98
triadic
#413C98 #98413C #3C9841
tetradic
#413C98 #983C65 #93983C #3C986F
square
#413C98 #983C65 #93983C #3C986F
split-complementary
#413C98 #986F3C #65983C
monochromatic
#1B1940 #2E2B6C #413C98 #5B55BC #8581CD

Accessibility & contrast

On white

9.03
#413C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#413C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413C98
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413C98#FFFFFF#000000##FFFFFF
##413C981.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#145264
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #413c98;
/* rgb */ color: rgb(65, 60, 152);
/* oklch */ color: oklch(41.7% 0.146 280.4);
Tailwind
colors: {
  custom: {
    50: '#7e72b7',
    500: '#413c98',
    950: '#000000',
  },
}
SCSS
$custom: #413c98;
$custom-light: #7e72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#413c98",
  "rgb": {
    "r": 65,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 243.261,
    "s": 43.396,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.14565,
    "h": 280.4
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #413C98

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

Preview Lab → · Contrast checker → · Palette generator →

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