#6451BA#6451BA

#6451BA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.9% C 0.159 H 287.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6451BA
RGBrgb(100, 81, 186)
HSLhsl(251, 43%, 52%)
HSVhsv(251, 56%, 73%)
CMYKcmyk(46.2%, 56.5%, 0%, 27.1%)
CIE-LABlab(41.44, 34.47, -53.07)
CIE-LCHlch(41.44, 63.28, 303.00°)
OKLaboklab(50.94% 0.0483 -0.1514)
OKLCHoklch(50.94% 0.159 287.7)
XYZxyz(17.0583, 12.1387, 47.8890)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451BA #A7BA51
analogous
#5173BA #6451BA #9851BA
triadic
#6451BA #BA6451 #51BA64
tetradic
#6451BA #BA5173 #A7BA51 #51BA98
square
#6451BA #BA5173 #A7BA51 #51BA98
split-complementary
#6451BA #BA9851 #73BA51
monochromatic
#342968 #4B3A93 #6451BA #8B7DCB #B2A9DD

Accessibility & contrast

On white

6.13
#6451BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6451BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451BA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451BA#FFFFFF#000000##FFFFFF
##6451BA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1164BE
Deuteranopia (green-blind)
#115FB8
Tritanopia (blue-blind)
#49687D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6451ba;
/* rgb */ color: rgb(100, 81, 186);
/* oklch */ color: oklch(50.9% 0.159 287.7);
Tailwind
colors: {
  custom: {
    50: '#9682cf',
    500: '#6451ba',
    950: '#000000',
  },
}
SCSS
$custom: #6451ba;
$custom-light: #9682cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6451ba",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 250.857,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50938,
    "c": 0.15888,
    "h": 287.7
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#6451BA
secondary
#C2CA9D
accent
#D355BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6451BA

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

Preview Lab → · Contrast checker → · Palette generator →

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