#412CAB#412CAB

#412CAB is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.190 H 281.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#412CAB
RGBrgb(65, 44, 171)
HSLhsl(250, 59%, 42%)
HSVhsv(250, 74%, 67%)
CMYKcmyk(62%, 74.3%, 0%, 32.9%)
CIE-LABlab(29.07, 45.11, -64.46)
CIE-LCHlch(29.07, 78.67, 304.99°)
OKLaboklab(40.83% 0.0378 -0.1859)
OKLCHoklch(40.83% 0.19 281.5)
XYZxyz(10.4290, 5.8647, 39.1026)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412CAB #96AB2C
analogous
#2C57AB #412CAB #802CAB
triadic
#412CAB #AB412C #2CAB41
tetradic
#412CAB #AB2C57 #96AB2C #2CAB80
square
#412CAB #AB2C57 #96AB2C #2CAB80
split-complementary
#412CAB #AB802C #57AB2C
monochromatic
#1C134A #2E1F7A #412CAB #5C45CF #8776DC

Accessibility & contrast

On white

9.66
#412CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#412CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412CAB
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412CAB#FFFFFF#000000##FFFFFF
##412CAB1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #412cab;
/* rgb */ color: rgb(65, 44, 171);
/* oklch */ color: oklch(40.8% 0.190 281.5);
Tailwind
colors: {
  custom: {
    50: '#8368c5',
    500: '#412cab',
    950: '#000000',
  },
}
SCSS
$custom: #412cab;
$custom-light: #8368c5;
$custom-dark: #000000;
JSON
{
  "hex": "#412cab",
  "rgb": {
    "r": 65,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 249.921,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.18969,
    "h": 281.5
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#412CAB
secondary
#B6C36F
accent
#E246C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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