#412FA7#412FA7

#412FA7 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.182 H 281.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#412FA7
RGBrgb(65, 47, 167)
HSLhsl(249, 56%, 42%)
HSVhsv(249, 72%, 65%)
CMYKcmyk(61.1%, 71.9%, 0%, 34.5%)
CIE-LABlab(29.28, 42.21, -61.71)
CIE-LCHlch(29.28, 74.76, 304.37°)
OKLaboklab(40.86% 0.0364 -0.1779)
OKLCHoklch(40.86% 0.182 281.6)
XYZxyz(10.1694, 5.9462, 37.1636)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FA7 #95A72F
analogous
#2F59A7 #412FA7 #7D2FA7
triadic
#412FA7 #A7412F #2FA741
tetradic
#412FA7 #A72F59 #95A72F #2FA77D
square
#412FA7 #A72F59 #95A72F #2FA77D
split-complementary
#412FA7 #A77D2F #59A72F
monochromatic
#1C1447 #2E2277 #412FA7 #5C48CB #8678D9

Accessibility & contrast

On white

9.59
#412FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412FA7
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FA7#FFFFFF#000000##FFFFFF
##412FA71.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #412fa7;
/* rgb */ color: rgb(65, 47, 167);
/* oklch */ color: oklch(40.9% 0.182 281.6);
Tailwind
colors: {
  custom: {
    50: '#8269c2',
    500: '#412fa7',
    950: '#000000',
  },
}
SCSS
$custom: #412fa7;
$custom-light: #8269c2;
$custom-dark: #000000;
JSON
{
  "hex": "#412fa7",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 249,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.18156,
    "h": 281.6
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#412FA7
secondary
#B5C171
accent
#DF48C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #412FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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