#6351BD#6351BD

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

Color values

HEX#6351BD
RGBrgb(99, 81, 189)
HSLhsl(250, 45%, 53%)
HSVhsv(250, 57%, 74%)
CMYKcmyk(47.6%, 57.1%, 0%, 25.9%)
CIE-LABlab(41.55, 35.14, -54.65)
CIE-LCHlch(41.55, 64.97, 302.75°)
OKLaboklab(51.06% 0.047 -0.156)
OKLCHoklch(51.06% 0.163 286.8)
XYZxyz(17.2707, 12.2109, 49.5812)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6351BD #ABBD51
analogous
#5175BD #6351BD #9951BD
triadic
#6351BD #BD6351 #51BD63
tetradic
#6351BD #BD5175 #ABBD51 #51BD99
square
#6351BD #BD5175 #ABBD51 #51BD99
split-complementary
#6351BD #BD9951 #75BD51
monochromatic
#34296B #493997 #6351BD #8B7DCE #B3AADF

Accessibility & contrast

On white

6.10
#6351BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6351BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6351BD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6351BD#FFFFFF#000000##FFFFFF
##6351BD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0465C1
Deuteranopia (green-blind)
#025FBB
Tritanopia (blue-blind)
#45697F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6351bd;
/* rgb */ color: rgb(99, 81, 189);
/* oklch */ color: oklch(51.1% 0.163 286.8);
Tailwind
colors: {
  custom: {
    50: '#9682d2',
    500: '#6351bd',
    950: '#000000',
  },
}
SCSS
$custom: #6351bd;
$custom-light: #9682d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6351bd",
  "rgb": {
    "r": 99,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 250,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.16295,
    "h": 286.8
  },
  "luminance": 0.12212
}

Semantic roles & 50–950 ramp

primary
#6351BD
secondary
#C4CC9E
accent
#D553BF
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6351BD

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

Preview Lab → · Contrast checker → · Palette generator →

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