#412AC1#412AC1

#412AC1 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.218 H 278.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#412AC1
RGBrgb(65, 42, 193)
HSLhsl(249, 64%, 46%)
HSVhsv(249, 78%, 76%)
CMYKcmyk(66.3%, 78.2%, 0%, 24.3%)
CIE-LABlab(30.95, 52.79, -74.44)
CIE-LCHlch(30.95, 91.26, 305.35°)
OKLaboklab(42.82% 0.0335 -0.215)
OKLCHoklch(42.82% 0.218 278.8)
XYZxyz(12.6305, 6.6289, 51.0556)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412AC1 #AAC12A
analogous
#2A5EC1 #412AC1 #8C2AC1
triadic
#412AC1 #C1412A #2AC141
tetradic
#412AC1 #C12A5E #AAC12A #2AC18C
square
#412AC1 #C12A5E #AAC12A #2AC18C
split-complementary
#412AC1 #C18C2A #5EC12A
monochromatic
#1F145C #301F8F #412AC1 #644FD9 #9182E4

Accessibility & contrast

On white

9.03
#412AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#412AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412AC1
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412AC1#FFFFFF#000000##FFFFFF
##412AC11.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC5
Deuteranopia (green-blind)
#0043BE
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #412ac1;
/* rgb */ color: rgb(65, 42, 193);
/* oklch */ color: oklch(42.8% 0.218 278.8);
Tailwind
colors: {
  custom: {
    50: '#8768d5',
    500: '#412ac1',
    950: '#000000',
  },
}
SCSS
$custom: #412ac1;
$custom-light: #8768d5;
$custom-dark: #000000;
JSON
{
  "hex": "#412ac1",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 249.139,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.21757,
    "h": 278.8
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#412AC1
secondary
#C0CD7A
accent
#E741CE
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #412AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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