#651F9F#651F9F

#651F9F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.190 H 303.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#651F9F
RGBrgb(101, 31, 159)
HSLhsl(273, 67%, 37%)
HSVhsv(273, 81%, 62%)
CMYKcmyk(36.5%, 80.5%, 0%, 37.6%)
CIE-LABlab(30.03, 53.20, -55.46)
CIE-LCHlch(30.03, 76.85, 313.80°)
OKLaboklab(42.11% 0.1055 -0.1582)
OKLCHoklch(42.11% 0.19 303.7)
XYZxyz(12.1134, 6.2499, 33.3624)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F9F #599F1F
analogous
#251F9F #651F9F #9F1F99
triadic
#651F9F #9F651F #1F9F65
tetradic
#651F9F #9F251F #599F1F #1F999F
square
#651F9F #9F251F #599F1F #1F999F
split-complementary
#651F9F #999F1F #1F9F25
monochromatic
#240B39 #44156C #651F9F #8629D2 #A25ADF

Accessibility & contrast

On white

9.33
#651F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#651F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F9F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F9F#FFFFFF#000000##FFFFFF
##651F9F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#59425F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #651f9f;
/* rgb */ color: rgb(101, 31, 159);
/* oklch */ color: oklch(42.1% 0.190 303.7);
Tailwind
colors: {
  custom: {
    50: '#9764bc',
    500: '#651f9f',
    950: '#000000',
  },
}
SCSS
$custom: #651f9f;
$custom-light: #9764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#651f9f",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 272.813,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42112,
    "c": 0.19014,
    "h": 303.7
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#651F9F
secondary
#88C357
accent
#EA3E8C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #651F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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