#413198#413198

#413198 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.160 H 283.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#413198
RGBrgb(65, 49, 152)
HSLhsl(249, 51%, 39%)
HSVhsv(249, 68%, 60%)
CMYKcmyk(57.2%, 67.8%, 0%, 40.4%)
CIE-LABlab(28.35, 36.28, -54.13)
CIE-LCHlch(28.35, 65.16, 303.83°)
OKLaboklab(39.78% 0.0373 -0.1556)
OKLCHoklch(39.78% 0.16 283.5)
XYZxyz(8.9440, 5.5869, 30.3068)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#413198 #889831
analogous
#315598 #413198 #753198
triadic
#413198 #984131 #319841
tetradic
#413198 #983155 #889831 #319875
square
#413198 #983155 #889831 #319875
split-complementary
#413198 #987531 #559831
monochromatic
#19133B #2D226A #413198 #5744C3 #8172D2

Accessibility & contrast

On white

9.92
#413198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#413198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #413198
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##413198#FFFFFF#000000##FFFFFF
##4131981.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#164B60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #413198;
/* rgb */ color: rgb(65, 49, 152);
/* oklch */ color: oklch(39.8% 0.160 283.5);
Tailwind
colors: {
  custom: {
    50: '#7f6ab7',
    500: '#413198',
    950: '#000000',
  },
}
SCSS
$custom: #413198;
$custom-light: #7f6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#413198",
  "rgb": {
    "r": 65,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 249.32,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.16005,
    "h": 283.5
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#413198
secondary
#ADB96B
accent
#DB4DC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #413198

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

Preview Lab → · Contrast checker → · Palette generator →

#413198 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva