#6451BD#6451BD

#6451BD is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.163 H 287.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6451BD
RGBrgb(100, 81, 189)
HSLhsl(251, 45%, 53%)
HSVhsv(251, 57%, 74%)
CMYKcmyk(47.1%, 57.1%, 0%, 25.9%)
CIE-LABlab(41.64, 35.36, -54.50)
CIE-LCHlch(41.64, 64.96, 302.98°)
OKLaboklab(51.15% 0.0483 -0.1555)
OKLCHoklch(51.15% 0.163 287.3)
XYZxyz(17.3806, 12.2676, 49.5863)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451BD #AABD51
analogous
#5174BD #6451BD #9A51BD
triadic
#6451BD #BD6451 #51BD64
tetradic
#6451BD #BD5174 #AABD51 #51BD9A
square
#6451BD #BD5174 #AABD51 #51BD9A
split-complementary
#6451BD #BD9A51 #74BD51
monochromatic
#34296B #4A3997 #6451BD #8C7DCE #B3AADF

Accessibility & contrast

On white

6.08
#6451BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6451BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451BD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451BD#FFFFFF#000000##FFFFFF
##6451BD1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0665C1
Deuteranopia (green-blind)
#055FBB
Tritanopia (blue-blind)
#47697F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6451bd;
/* rgb */ color: rgb(100, 81, 189);
/* oklch */ color: oklch(51.2% 0.163 287.3);
Tailwind
colors: {
  custom: {
    50: '#9682d2',
    500: '#6451bd',
    950: '#000000',
  },
}
SCSS
$custom: #6451bd;
$custom-light: #9682d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6451bd",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 250.556,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.16289,
    "h": 287.3
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#6451BD
secondary
#C4CC9E
accent
#D553BE
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6451BD

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

Preview Lab → · Contrast checker → · Palette generator →

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