#412DC6#412DC6

#412DC6 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.7% C 0.221 H 278.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#412DC6
RGBrgb(65, 45, 198)
HSLhsl(248, 63%, 48%)
HSVhsv(248, 77%, 78%)
CMYKcmyk(67.2%, 77.3%, 0%, 22.4%)
CIE-LABlab(31.98, 52.82, -75.66)
CIE-LCHlch(31.98, 92.28, 304.92°)
OKLaboklab(43.69% 0.0306 -0.2186)
OKLCHoklch(43.69% 0.221 278)
XYZxyz(13.3081, 7.0767, 54.0797)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DC6 #B2C62D
analogous
#2D66C6 #412DC6 #8D2DC6
triadic
#412DC6 #C6412D #2DC641
tetradic
#412DC6 #C62D66 #B2C62D #2DC68D
square
#412DC6 #C62D66 #B2C62D #2DC68D
split-complementary
#412DC6 #C68D2D #66C62D
monochromatic
#201662 #312294 #412DC6 #6857D9 #9589E4

Accessibility & contrast

On white

8.69
#412DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#412DC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DC6
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DC6#FFFFFF#000000##FFFFFF
##412DC61.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CA
Deuteranopia (green-blind)
#0045C3
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #412dc6;
/* rgb */ color: rgb(65, 45, 198);
/* oklch */ color: oklch(43.7% 0.221 278.0);
Tailwind
colors: {
  custom: {
    50: '#886ad9',
    500: '#412dc6',
    950: '#000000',
  },
}
SCSS
$custom: #412dc6;
$custom-light: #886ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#412dc6",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 198
  },
  "hsl": {
    "h": 247.843,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.22071,
    "h": 278
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#412DC6
secondary
#C4CE81
accent
#E642D1
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #412DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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