#412FB7#412FB7

#412FB7 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.201 H 279.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#412FB7
RGBrgb(65, 47, 183)
HSLhsl(248, 59%, 45%)
HSVhsv(248, 74%, 72%)
CMYKcmyk(64.5%, 74.3%, 0%, 28.2%)
CIE-LABlab(30.82, 47.21, -68.74)
CIE-LCHlch(30.82, 83.39, 304.48°)
OKLaboklab(42.42% 0.0331 -0.1984)
OKLCHoklch(42.42% 0.201 279.5)
XYZxyz(11.7410, 6.5748, 45.4409)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412FB7 #A5B72F
analogous
#2F61B7 #412FB7 #852FB7
triadic
#412FB7 #B7412F #2FB741
tetradic
#412FB7 #B72F61 #A5B72F #2FB785
square
#412FB7 #B72F61 #A5B72F #2FB785
split-complementary
#412FB7 #B7852F #61B72F
monochromatic
#1E1656 #302286 #412FB7 #6251D2 #8E82DF

Accessibility & contrast

On white

9.07
#412FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#412FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412FB7
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412FB7#FFFFFF#000000##FFFFFF
##412FB71.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #412fb7;
/* rgb */ color: rgb(65, 47, 183);
/* oklch */ color: oklch(42.4% 0.201 279.5);
Tailwind
colors: {
  custom: {
    50: '#856ace',
    500: '#412fb7',
    950: '#000000',
  },
}
SCSS
$custom: #412fb7;
$custom-light: #856ace;
$custom-dark: #000000;
JSON
{
  "hex": "#412fb7",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 247.941,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42422,
    "c": 0.20116,
    "h": 279.5
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#412FB7
secondary
#BEC87A
accent
#E245CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #412FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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