#6451BB#6451BB

#6451BB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.0% C 0.160 H 287.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6451BB
RGBrgb(100, 81, 187)
HSLhsl(251, 44%, 53%)
HSVhsv(251, 57%, 73%)
CMYKcmyk(46.5%, 56.7%, 0%, 26.7%)
CIE-LABlab(41.50, 34.76, -53.55)
CIE-LCHlch(41.50, 63.84, 302.99°)
OKLaboklab(51.01% 0.0483 -0.1527)
OKLCHoklch(51.01% 0.16 287.6)
XYZxyz(17.1650, 12.1813, 48.4509)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451BB #A8BB51
analogous
#5173BB #6451BB #9951BB
triadic
#6451BB #BB6451 #51BB64
tetradic
#6451BB #BB5173 #A8BB51 #51BB99
square
#6451BB #BB5173 #A8BB51 #51BB99
split-complementary
#6451BB #BB9951 #73BB51
monochromatic
#342969 #4A3A95 #6451BB #8B7DCC #B2A9DD

Accessibility & contrast

On white

6.11
#6451BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6451BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451BB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451BB#FFFFFF#000000##FFFFFF
##6451BB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E64BF
Deuteranopia (green-blind)
#0E5FB9
Tritanopia (blue-blind)
#48697E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6451bb;
/* rgb */ color: rgb(100, 81, 187);
/* oklch */ color: oklch(51.0% 0.160 287.6);
Tailwind
colors: {
  custom: {
    50: '#9682d0',
    500: '#6451bb',
    950: '#000000',
  },
}
SCSS
$custom: #6451bb;
$custom-light: #9682d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6451bb",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 250.755,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.16021,
    "h": 287.6
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#6451BB
secondary
#C3CB9D
accent
#D454BD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6451BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6451BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva