#412ABC#412ABC

#412ABC is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.3% C 0.212 H 279.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#412ABC
RGBrgb(65, 42, 188)
HSLhsl(249, 63%, 45%)
HSVhsv(249, 78%, 74%)
CMYKcmyk(65.4%, 77.7%, 0%, 26.3%)
CIE-LABlab(30.42, 51.30, -72.35)
CIE-LCHlch(30.42, 88.70, 305.34°)
OKLaboklab(42.3% 0.0348 -0.2089)
OKLCHoklch(42.3% 0.212 279.5)
XYZxyz(12.0821, 6.4096, 48.1677)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412ABC #A5BC2A
analogous
#2A5CBC #412ABC #8A2ABC
triadic
#412ABC #BC412A #2ABC41
tetradic
#412ABC #BC2A5C #A5BC2A #2ABC8A
square
#412ABC #BC2A5C #A5BC2A #2ABC8A
split-complementary
#412ABC #BC8A2A #5CBC2A
monochromatic
#1E1458 #301F8A #412ABC #624CD7 #8E7EE2

Accessibility & contrast

On white

9.20
#412ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#412ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412ABC
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412ABC#FFFFFF#000000##FFFFFF
##412ABC1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0042B9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #412abc;
/* rgb */ color: rgb(65, 42, 188);
/* oklch */ color: oklch(42.3% 0.212 279.5);
Tailwind
colors: {
  custom: {
    50: '#8668d2',
    500: '#412abc',
    950: '#000000',
  },
}
SCSS
$custom: #412abc;
$custom-light: #8668d2;
$custom-dark: #000000;
JSON
{
  "hex": "#412abc",
  "rgb": {
    "r": 65,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 249.452,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42295,
    "c": 0.21179,
    "h": 279.5
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#412ABC
secondary
#BECB77
accent
#E741CC
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #412ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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