#412DC2#412DC2

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

Color values

HEX#412DC2
RGBrgb(65, 45, 194)
HSLhsl(248, 62%, 47%)
HSVhsv(248, 77%, 76%)
CMYKcmyk(66.5%, 76.8%, 0%, 23.9%)
CIE-LABlab(31.57, 51.62, -74.00)
CIE-LCHlch(31.57, 90.22, 304.90°)
OKLaboklab(43.28% 0.0316 -0.2137)
OKLCHoklch(43.28% 0.216 278.4)
XYZxyz(12.8528, 6.8945, 51.6819)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412DC2 #AEC22D
analogous
#2D63C2 #412DC2 #8C2DC2
triadic
#412DC2 #C2412D #2DC241
tetradic
#412DC2 #C22D63 #AEC22D #2DC28C
square
#412DC2 #C22D63 #AEC22D #2DC28C
split-complementary
#412DC2 #C28C2D #63C22D
monochromatic
#20165F #302190 #412DC2 #6655D7 #9386E3

Accessibility & contrast

On white

8.83
#412DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#412DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412DC2
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412DC2#FFFFFF#000000##FFFFFF
##412DC21.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412dc2;
/* rgb */ color: rgb(65, 45, 194);
/* oklch */ color: oklch(43.3% 0.216 278.4);
Tailwind
colors: {
  custom: {
    50: '#876ad6',
    500: '#412dc2',
    950: '#000000',
  },
}
SCSS
$custom: #412dc2;
$custom-light: #876ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#412dc2",
  "rgb": {
    "r": 65,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 248.054,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.21607,
    "h": 278.4
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#412DC2
secondary
#C2CD7E
accent
#E542D0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #412DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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