#6451BE#6451BE

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

Color values

HEX#6451BE
RGBrgb(100, 81, 190)
HSLhsl(250, 46%, 53%)
HSVhsv(250, 57%, 75%)
CMYKcmyk(47.4%, 57.4%, 0%, 25.5%)
CIE-LABlab(41.71, 35.66, -54.97)
CIE-LCHlch(41.71, 65.52, 302.97°)
OKLaboklab(51.22% 0.0483 -0.1569)
OKLCHoklch(51.22% 0.164 287.1)
XYZxyz(17.4895, 12.3111, 50.1600)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451BE #ABBE51
analogous
#5174BE #6451BE #9B51BE
triadic
#6451BE #BE6451 #51BE64
tetradic
#6451BE #BE5174 #ABBE51 #51BE9B
square
#6451BE #BE5174 #ABBE51 #51BE9B
split-complementary
#6451BE #BE9B51 #74BE51
monochromatic
#34286C #4A3999 #6451BE #8C7ECF #B3AADF

Accessibility & contrast

On white

6.07
#6451BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6451BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451BE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451BE#FFFFFF#000000##FFFFFF
##6451BE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0265C2
Deuteranopia (green-blind)
#015FBC
Tritanopia (blue-blind)
#46697F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6451be;
/* rgb */ color: rgb(100, 81, 190);
/* oklch */ color: oklch(51.2% 0.164 287.1);
Tailwind
colors: {
  custom: {
    50: '#9682d2',
    500: '#6451be',
    950: '#000000',
  },
}
SCSS
$custom: #6451be;
$custom-light: #9682d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6451be",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 250.459,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.16421,
    "h": 287.1
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#6451BE
secondary
#C5CD9E
accent
#D553BE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6451BE

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

Preview Lab → · Contrast checker → · Palette generator →

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