#651F98#651F98

#651F98 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.183 H 305.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#651F98
RGBrgb(101, 31, 152)
HSLhsl(275, 66%, 36%)
HSVhsv(275, 80%, 60%)
CMYKcmyk(33.6%, 79.6%, 0%, 40.4%)
CIE-LABlab(29.45, 51.57, -52.15)
CIE-LCHlch(29.45, 73.34, 314.68°)
OKLaboklab(41.52% 0.1073 -0.1485)
OKLCHoklch(41.52% 0.183 305.9)
XYZxyz(11.5230, 6.0138, 30.2534)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F98 #52981F
analogous
#291F98 #651F98 #981F8E
triadic
#651F98 #98651F #1F9865
tetradic
#651F98 #98291F #52981F #1F8E98
square
#651F98 #98291F #52981F #1F8E98
split-complementary
#651F98 #8E981F #1F9829
monochromatic
#210A32 #431565 #651F98 #8729CB #A355DC

Accessibility & contrast

On white

9.53
#651F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#651F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F98
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F98#FFFFFF#000000##FFFFFF
##651F981.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#5C3E5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #651f98;
/* rgb */ color: rgb(101, 31, 152);
/* oklch */ color: oklch(41.5% 0.183 305.9);
Tailwind
colors: {
  custom: {
    50: '#9663b7',
    500: '#651f98',
    950: '#000000',
  },
}
SCSS
$custom: #651f98;
$custom-light: #9663b7;
$custom-dark: #000000;
JSON
{
  "hex": "#651f98",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 274.711,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.18322,
    "h": 305.9
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#651F98
secondary
#81C053
accent
#E93F87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651F98

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

Preview Lab → · Contrast checker → · Palette generator →

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