#412CB8#412CB8

#412CB8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.205 H 279.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#412CB8
RGBrgb(65, 44, 184)
HSLhsl(249, 61%, 45%)
HSVhsv(249, 76%, 72%)
CMYKcmyk(64.7%, 76.1%, 0%, 27.8%)
CIE-LABlab(30.36, 49.09, -70.08)
CIE-LCHlch(30.36, 85.57, 305.01°)
OKLaboklab(42.13% 0.0347 -0.2023)
OKLCHoklch(42.13% 0.205 279.7)
XYZxyz(11.7296, 6.3849, 45.9524)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CB8 #A3B82C
analogous
#2C5DB8 #412CB8 #872CB8
triadic
#412CB8 #B8412C #2CB841
tetradic
#412CB8 #B82C5D #A3B82C #2CB887
square
#412CB8 #B82C5D #A3B82C #2CB887
split-complementary
#412CB8 #B8872C #5DB82C
monochromatic
#1E1455 #302087 #412CB8 #614DD4 #8D7EE0

Accessibility & contrast

On white

9.22
#412CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#412CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CB8
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CB8#FFFFFF#000000##FFFFFF
##412CB81.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412cb8;
/* rgb */ color: rgb(65, 44, 184);
/* oklch */ color: oklch(42.1% 0.205 279.7);
Tailwind
colors: {
  custom: {
    50: '#8568cf',
    500: '#412cb8',
    950: '#000000',
  },
}
SCSS
$custom: #412cb8;
$custom-light: #8568cf;
$custom-dark: #000000;
JSON
{
  "hex": "#412cb8",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 249,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42131,
    "c": 0.20526,
    "h": 279.7
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#412CB8
secondary
#BDC977
accent
#E543CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #412CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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