#412DA7#412DA7

#412DA7 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.184 H 281.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#412DA7
RGBrgb(65, 45, 167)
HSLhsl(250, 58%, 42%)
HSVhsv(250, 73%, 65%)
CMYKcmyk(61.1%, 73.1%, 0%, 34.5%)
CIE-LABlab(28.88, 43.33, -62.37)
CIE-LCHlch(28.88, 75.94, 304.79°)
OKLaboklab(40.58% 0.038 -0.1798)
OKLCHoklch(40.58% 0.184 281.9)
XYZxyz(10.0912, 5.7899, 37.1375)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DA7 #93A72D
analogous
#2D56A7 #412DA7 #7E2DA7
triadic
#412DA7 #A7412D #2DA741
tetradic
#412DA7 #A72D56 #93A72D #2DA77E
square
#412DA7 #A72D56 #93A72D #2DA77E
split-complementary
#412DA7 #A77E2D #56A72D
monochromatic
#1B1347 #2E2077 #412DA7 #5B44CD #8575DA

Accessibility & contrast

On white

9.73
#412DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#412DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DA7
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DA7#FFFFFF#000000##FFFFFF
##412DA71.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412da7;
/* rgb */ color: rgb(65, 45, 167);
/* oklch */ color: oklch(40.6% 0.184 281.9);
Tailwind
colors: {
  custom: {
    50: '#8268c2',
    500: '#412da7',
    950: '#000000',
  },
}
SCSS
$custom: #412da7;
$custom-light: #8268c2;
$custom-dark: #000000;
JSON
{
  "hex": "#412da7",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 249.836,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40576,
    "c": 0.18374,
    "h": 281.9
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#412DA7
secondary
#B4C16E
accent
#E147C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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