#6451BC#6451BC

#6451BC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.162 H 287.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6451BC
RGBrgb(100, 81, 188)
HSLhsl(251, 44%, 53%)
HSVhsv(251, 57%, 74%)
CMYKcmyk(46.8%, 56.9%, 0%, 26.3%)
CIE-LABlab(41.57, 35.06, -54.02)
CIE-LCHlch(41.57, 64.40, 302.98°)
OKLaboklab(51.08% 0.0483 -0.1541)
OKLCHoklch(51.08% 0.162 287.4)
XYZxyz(17.2724, 12.2243, 49.0166)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451BC #A9BC51
analogous
#5174BC #6451BC #9951BC
triadic
#6451BC #BC6451 #51BC64
tetradic
#6451BC #BC5174 #A9BC51 #51BC99
square
#6451BC #BC5174 #A9BC51 #51BC99
split-complementary
#6451BC #BC9951 #74BC51
monochromatic
#34296A #4A3A96 #6451BC #8B7DCD #B3A9DE

Accessibility & contrast

On white

6.10
#6451BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6451BC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451BC#FFFFFF#000000##FFFFFF
##6451BC1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A65C0
Deuteranopia (green-blind)
#0A5FBA
Tritanopia (blue-blind)
#47697E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6451bc;
/* rgb */ color: rgb(100, 81, 188);
/* oklch */ color: oklch(51.1% 0.162 287.4);
Tailwind
colors: {
  custom: {
    50: '#9682d1',
    500: '#6451bc',
    950: '#000000',
  },
}
SCSS
$custom: #6451bc;
$custom-light: #9682d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6451bc",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 250.654,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5108,
    "c": 0.16155,
    "h": 287.4
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6451BC

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

Preview Lab → · Contrast checker → · Palette generator →

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