#651FA8#651FA8

#651FA8 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.199 H 301.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#651FA8
RGBrgb(101, 31, 168)
HSLhsl(271, 69%, 39%)
HSVhsv(271, 82%, 66%)
CMYKcmyk(39.9%, 81.5%, 0%, 34.1%)
CIE-LABlab(30.82, 55.31, -59.63)
CIE-LCHlch(30.82, 81.33, 312.85°)
OKLaboklab(42.9% 0.1028 -0.1704)
OKLCHoklch(42.9% 0.199 301.1)
XYZxyz(12.9230, 6.5737, 37.6262)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651FA8 #62A81F
analogous
#211FA8 #651FA8 #A81FA7
triadic
#651FA8 #A8651F #1FA865
tetradic
#651FA8 #A8211F #62A81F #1FA7A8
square
#651FA8 #A8211F #62A81F #1FA7A8
split-complementary
#651FA8 #A7A81F #1FA821
monochromatic
#270C41 #461574 #651FA8 #842CD8 #A260E2

Accessibility & contrast

On white

9.07
#651FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#651FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651FA8
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651FA8#FFFFFF#000000##FFFFFF
##651FA81.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#564565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #651fa8;
/* rgb */ color: rgb(101, 31, 168);
/* oklch */ color: oklch(42.9% 0.199 301.1);
Tailwind
colors: {
  custom: {
    50: '#9864c3',
    500: '#651fa8',
    950: '#000000',
  },
}
SCSS
$custom: #651fa8;
$custom-light: #9864c3;
$custom-dark: #000000;
JSON
{
  "hex": "#651fa8",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 270.657,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.19904,
    "h": 301.1
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#651FA8
secondary
#90C65D
accent
#EC3C92
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #651FA8

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

Preview Lab → · Contrast checker → · Palette generator →

#651FA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva