#412FA2#412FA2

#412FA2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.175 H 282.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#412FA2
RGBrgb(65, 47, 162)
HSLhsl(249, 55%, 41%)
HSVhsv(249, 71%, 64%)
CMYKcmyk(59.9%, 71%, 0%, 36.5%)
CIE-LABlab(28.81, 40.64, -59.45)
CIE-LCHlch(28.81, 72.01, 304.35°)
OKLaboklab(40.39% 0.0374 -0.1713)
OKLCHoklch(40.39% 0.175 282.3)
XYZxyz(9.7160, 5.7648, 34.7761)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FA2 #90A22F
analogous
#2F56A2 #412FA2 #7A2FA2
triadic
#412FA2 #A2412F #2FA241
tetradic
#412FA2 #A22F56 #90A22F #2FA27A
square
#412FA2 #A22F56 #90A22F #2FA27A
split-complementary
#412FA2 #A27A2F #56A22F
monochromatic
#1B1343 #2E2173 #412FA2 #5A45C9 #8475D7

Accessibility & contrast

On white

9.75
#412FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#412FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FA2
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FA2#FFFFFF#000000##FFFFFF
##412FA21.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412fa2;
/* rgb */ color: rgb(65, 47, 162);
/* oklch */ color: oklch(40.4% 0.175 282.3);
Tailwind
colors: {
  custom: {
    50: '#8169bf',
    500: '#412fa2',
    950: '#000000',
  },
}
SCSS
$custom: #412fa2;
$custom-light: #8169bf;
$custom-dark: #000000;
JSON
{
  "hex": "#412fa2",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 249.391,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40387,
    "c": 0.17529,
    "h": 282.3
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#412FA2
secondary
#B2BF6E
accent
#DE49C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #412FA2

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

Preview Lab → · Contrast checker → · Palette generator →

#412FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva