#651F94#651F94

#651F94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.179 H 307.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#651F94
RGBrgb(101, 31, 148)
HSLhsl(276, 65%, 35%)
HSVhsv(276, 79%, 58%)
CMYKcmyk(31.8%, 79.1%, 0%, 42%)
CIE-LABlab(29.12, 50.65, -50.23)
CIE-LCHlch(29.12, 71.33, 315.24°)
OKLaboklab(41.19% 0.1083 -0.1428)
OKLCHoklch(41.19% 0.179 307.2)
XYZxyz(11.2010, 5.8849, 28.5571)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#651F94 #4E941F
analogous
#2A1F94 #651F94 #941F89
triadic
#651F94 #94651F #1F9465
tetradic
#651F94 #942A1F #4E941F #1F8994
square
#651F94 #942A1F #4E941F #1F8994
split-complementary
#651F94 #89941F #1F942A
monochromatic
#200A2F #421461 #651F94 #882AC7 #A453DB

Accessibility & contrast

On white

9.65
#651F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#651F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #651F94
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##651F94#FFFFFF#000000##FFFFFF
##651F941.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#5D3D59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #651f94;
/* rgb */ color: rgb(101, 31, 148);
/* oklch */ color: oklch(41.2% 0.179 307.2);
Tailwind
colors: {
  custom: {
    50: '#9663b4',
    500: '#651f94',
    950: '#000000',
  },
}
SCSS
$custom: #651f94;
$custom-light: #9663b4;
$custom-dark: #000000;
JSON
{
  "hex": "#651f94",
  "rgb": {
    "r": 101,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 275.897,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41189,
    "c": 0.17927,
    "h": 307.2
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#651F94
secondary
#7DBE51
accent
#E83F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #651F94

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

Preview Lab → · Contrast checker → · Palette generator →

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