#6351BB#6351BB

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

Color values

HEX#6351BB
RGBrgb(99, 81, 187)
HSLhsl(250, 44%, 53%)
HSVhsv(250, 57%, 73%)
CMYKcmyk(47.1%, 56.7%, 0%, 26.7%)
CIE-LABlab(41.41, 34.55, -53.70)
CIE-LCHlch(41.41, 63.85, 302.76°)
OKLaboklab(50.92% 0.047 -0.1532)
OKLCHoklch(50.92% 0.16 287.1)
XYZxyz(17.0551, 12.1246, 48.4457)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351BB #A9BB51
analogous
#5174BB #6351BB #9851BB
triadic
#6351BB #BB6351 #51BB63
tetradic
#6351BB #BB5174 #A9BB51 #51BB98
square
#6351BB #BB5174 #A9BB51 #51BB98
split-complementary
#6351BB #BB9851 #74BB51
monochromatic
#342969 #493A95 #6351BB #8A7DCC #B2A9DD

Accessibility & contrast

On white

6.13
#6351BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6351BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351BB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351BB#FFFFFF#000000##FFFFFF
##6351BB1.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)
#0C64BF
Deuteranopia (green-blind)
#0B5FB9
Tritanopia (blue-blind)
#46697E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6351bb;
/* rgb */ color: rgb(99, 81, 187);
/* oklch */ color: oklch(50.9% 0.160 287.1);
Tailwind
colors: {
  custom: {
    50: '#9582d0',
    500: '#6351bb',
    950: '#000000',
  },
}
SCSS
$custom: #6351bb;
$custom-light: #9582d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6351bb",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 250.189,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.16028,
    "h": 287.1
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#6351BB
secondary
#C3CB9D
accent
#D454BE
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6351BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6351BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva