#412CAD#412CAD

#412CAD is a dark, vivid blue. Relative luminance 0.059; OKLCH L 41.0% C 0.192 H 281.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#412CAD
RGBrgb(65, 44, 173)
HSLhsl(250, 59%, 43%)
HSVhsv(250, 75%, 68%)
CMYKcmyk(62.4%, 74.6%, 0%, 32.2%)
CIE-LABlab(29.26, 45.73, -65.33)
CIE-LCHlch(29.26, 79.75, 304.99°)
OKLaboklab(41.03% 0.0373 -0.1884)
OKLCHoklch(41.03% 0.192 281.2)
XYZxyz(10.6211, 5.9415, 40.1142)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CAD #98AD2C
analogous
#2C58AD #412CAD #812CAD
triadic
#412CAD #AD412C #2CAD41
tetradic
#412CAD #AD2C58 #98AD2C #2CAD81
square
#412CAD #AD2C58 #98AD2C #2CAD81
split-complementary
#412CAD #AD812C #58AD2C
monochromatic
#1C134B #2F207C #412CAD #5D46D0 #8877DC

Accessibility & contrast

On white

9.60
#412CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#412CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CAD
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CAD#FFFFFF#000000##FFFFFF
##412CAD1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412cad;
/* rgb */ color: rgb(65, 44, 173);
/* oklch */ color: oklch(41.0% 0.192 281.2);
Tailwind
colors: {
  custom: {
    50: '#8368c7',
    500: '#412cad',
    950: '#000000',
  },
}
SCSS
$custom: #412cad;
$custom-light: #8368c7;
$custom-dark: #000000;
JSON
{
  "hex": "#412cad",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 249.767,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41027,
    "c": 0.19211,
    "h": 281.2
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#412CAD
secondary
#B7C471
accent
#E345C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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