#651F9E#651F9E

#651F9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.189 H 304.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#651F9E
RGBrgb(101, 31, 158)
HSLhsl(273, 67%, 37%)
HSVhsv(273, 80%, 62%)
CMYKcmyk(36.1%, 80.4%, 0%, 38%)
CIE-LABlab(29.95, 52.96, -54.99)
CIE-LCHlch(29.95, 76.35, 313.92°)
OKLaboklab(42.03% 0.1057 -0.1568)
OKLCHoklch(42.03% 0.189 304)
XYZxyz(12.0269, 6.2153, 32.9072)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F9E #589E1F
analogous
#261F9E #651F9E #9E1F98
triadic
#651F9E #9E651F #1F9E65
tetradic
#651F9E #9E261F #589E1F #1F989E
square
#651F9E #9E261F #589E1F #1F989E
split-complementary
#651F9E #989E1F #1F9E26
monochromatic
#240B38 #44156B #651F9E #8629D1 #A359DE

Accessibility & contrast

On white

9.36
#651F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#651F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F9E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F9E#FFFFFF#000000##FFFFFF
##651F9E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#5A415F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #651f9e;
/* rgb */ color: rgb(101, 31, 158);
/* oklch */ color: oklch(42.0% 0.189 304.0);
Tailwind
colors: {
  custom: {
    50: '#9764bc',
    500: '#651f9e',
    950: '#000000',
  },
}
SCSS
$custom: #651f9e;
$custom-light: #9764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#651f9e",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 273.071,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.18916,
    "h": 304
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#651F9E
secondary
#87C256
accent
#EA3E8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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