#6451C2#6451C2

#6451C2 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.170 H 286.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6451C2
RGBrgb(100, 81, 194)
HSLhsl(250, 48%, 54%)
HSVhsv(250, 58%, 76%)
CMYKcmyk(48.5%, 58.2%, 0%, 23.9%)
CIE-LABlab(41.98, 36.85, -56.86)
CIE-LCHlch(41.98, 67.75, 302.95°)
OKLaboklab(51.52% 0.0483 -0.1625)
OKLCHoklch(51.52% 0.17 286.6)
XYZxyz(17.9327, 12.4884, 52.4941)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451C2 #AFC251
analogous
#5177C2 #6451C2 #9C51C2
triadic
#6451C2 #C26451 #51C264
tetradic
#6451C2 #C25177 #AFC251 #51C29C
square
#6451C2 #C25177 #AFC251 #51C29C
split-complementary
#6451C2 #C29C51 #77C251
monochromatic
#342871 #49379E #6451C2 #8C7ED2 #B5ACE2

Accessibility & contrast

On white

6.00
#6451C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6451C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451C2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451C2#FFFFFF#000000##FFFFFF
##6451C21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#446B82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6451c2;
/* rgb */ color: rgb(100, 81, 194);
/* oklch */ color: oklch(51.5% 0.170 286.6);
Tailwind
colors: {
  custom: {
    50: '#9782d5',
    500: '#6451c2',
    950: '#000000',
  },
}
SCSS
$custom: #6451c2;
$custom-light: #9782d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6451c2",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 250.088,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.1695,
    "h": 286.6
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#6451C2
secondary
#C7D09F
accent
#D850C1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6451C2

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

Preview Lab → · Contrast checker → · Palette generator →

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