#412CB7#412CB7

#412CB7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.0% C 0.204 H 279.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#412CB7
RGBrgb(65, 44, 183)
HSLhsl(249, 61%, 45%)
HSVhsv(249, 76%, 72%)
CMYKcmyk(64.5%, 76%, 0%, 28.2%)
CIE-LABlab(30.26, 48.79, -69.66)
CIE-LCHlch(30.26, 85.04, 305.01°)
OKLaboklab(42.03% 0.0349 -0.2011)
OKLCHoklch(42.03% 0.204 279.9)
XYZxyz(11.6252, 6.3432, 45.4023)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CB7 #A2B72C
analogous
#2C5CB7 #412CB7 #872CB7
triadic
#412CB7 #B7412C #2CB741
tetradic
#412CB7 #B72C5C #A2B72C #2CB787
square
#412CB7 #B72C5C #A2B72C #2CB787
split-complementary
#412CB7 #B7872C #5CB72C
monochromatic
#1E1454 #2F2086 #412CB7 #614CD4 #8C7EE0

Accessibility & contrast

On white

9.26
#412CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#412CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CB7
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CB7#FFFFFF#000000##FFFFFF
##412CB71.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #412cb7;
/* rgb */ color: rgb(65, 44, 183);
/* oklch */ color: oklch(42.0% 0.204 279.9);
Tailwind
colors: {
  custom: {
    50: '#8568ce',
    500: '#412cb7',
    950: '#000000',
  },
}
SCSS
$custom: #412cb7;
$custom-light: #8568ce;
$custom-dark: #000000;
JSON
{
  "hex": "#412cb7",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 249.065,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.20408,
    "h": 279.9
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#412CB7
secondary
#BCC876
accent
#E443CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #412CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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