#412EC1#412EC1

#412EC1 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.3% C 0.214 H 278.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#412EC1
RGBrgb(65, 46, 193)
HSLhsl(248, 62%, 47%)
HSVhsv(248, 76%, 76%)
CMYKcmyk(66.3%, 76.2%, 0%, 24.3%)
CIE-LABlab(31.64, 50.80, -73.29)
CIE-LCHlch(31.64, 89.18, 304.73°)
OKLaboklab(43.3% 0.0313 -0.2117)
OKLCHoklch(43.3% 0.214 278.4)
XYZxyz(12.7795, 6.9270, 51.1053)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412EC1 #AEC12E
analogous
#2E65C1 #412EC1 #8B2EC1
triadic
#412EC1 #C1412E #2EC141
tetradic
#412EC1 #C12E65 #AEC12E #2EC18B
square
#412EC1 #C12E65 #AEC12E #2EC18B
split-complementary
#412EC1 #C18B2E #65C12E
monochromatic
#20165E #302290 #412EC1 #6656D7 #9387E2

Accessibility & contrast

On white

8.80
#412EC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#412EC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412EC1
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412EC1#FFFFFF#000000##FFFFFF
##412EC11.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C5
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #412ec1;
/* rgb */ color: rgb(65, 46, 193);
/* oklch */ color: oklch(43.3% 0.214 278.4);
Tailwind
colors: {
  custom: {
    50: '#876ad5',
    500: '#412ec1',
    950: '#000000',
  },
}
SCSS
$custom: #412ec1;
$custom-light: #876ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#412ec1",
  "rgb": {
    "r": 65,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 247.755,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43301,
    "c": 0.21398,
    "h": 278.4
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#412EC1
secondary
#C2CC7F
accent
#E543D0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #412EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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