#412BBB#412BBB

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

Color values

HEX#412BBB
RGBrgb(65, 43, 187)
HSLhsl(249, 63%, 45%)
HSVhsv(249, 77%, 73%)
CMYKcmyk(65.2%, 77%, 0%, 26.7%)
CIE-LABlab(30.49, 50.51, -71.65)
CIE-LCHlch(30.49, 87.66, 305.18°)
OKLaboklab(42.31% 0.0345 -0.2069)
OKLCHoklch(42.31% 0.21 279.5)
XYZxyz(12.0106, 6.4385, 47.6139)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412BBB #A5BB2B
analogous
#2B5DBB #412BBB #892BBB
triadic
#412BBB #BB412B #2BBB41
tetradic
#412BBB #BB2B5D #A5BB2B #2BBB89
square
#412BBB #BB2B5D #A5BB2B #2BBB89
split-complementary
#412BBB #BB892B #5DBB2B
monochromatic
#1E1457 #302089 #412BBB #624DD6 #8E7FE2

Accessibility & contrast

On white

9.18
#412BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#412BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412BBB
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412BBB#FFFFFF#000000##FFFFFF
##412BBB1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412bbb;
/* rgb */ color: rgb(65, 43, 187);
/* oklch */ color: oklch(42.3% 0.210 279.5);
Tailwind
colors: {
  custom: {
    50: '#8668d1',
    500: '#412bbb',
    950: '#000000',
  },
}
SCSS
$custom: #412bbb;
$custom-light: #8668d1;
$custom-dark: #000000;
JSON
{
  "hex": "#412bbb",
  "rgb": {
    "r": 65,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 249.167,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.20972,
    "h": 279.5
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#412BBB
secondary
#BECA78
accent
#E642CD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #412BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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