#652C94#652C94

#652C94 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.164 H 305.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#652C94
RGBrgb(101, 44, 148)
HSLhsl(273, 54%, 38%)
HSVhsv(273, 70%, 58%)
CMYKcmyk(31.8%, 70.3%, 0%, 42%)
CIE-LABlab(31.13, 44.96, -46.97)
CIE-LCHlch(31.13, 65.02, 313.75°)
OKLaboklab(42.61% 0.0954 -0.1333)
OKLCHoklch(42.61% 0.164 305.6)
XYZxyz(11.6116, 6.7063, 28.6940)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652C94 #5B942C
analogous
#312C94 #652C94 #942C8F
triadic
#652C94 #94652C #2C9465
tetradic
#652C94 #94312C #5B942C #2C8F94
square
#652C94 #94312C #5B942C #2C8F94
split-complementary
#652C94 #8F942C #2C9431
monochromatic
#251036 #451E65 #652C94 #853AC3 #A268D2

Accessibility & contrast

On white

8.97
#652C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#652C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652C94
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652C94#FFFFFF#000000##FFFFFF
##652C941.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#064992
Tritanopia (blue-blind)
#5D435C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652c94;
/* rgb */ color: rgb(101, 44, 148);
/* oklch */ color: oklch(42.6% 0.164 305.6);
Tailwind
colors: {
  custom: {
    50: '#956ab4',
    500: '#652c94',
    950: '#000000',
  },
}
SCSS
$custom: #652c94;
$custom-light: #956ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#652c94",
  "rgb": {
    "r": 101,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 272.885,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42611,
    "c": 0.16394,
    "h": 305.6
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#652C94
secondary
#8AB963
accent
#DE4A8D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652C94

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

Preview Lab → · Contrast checker → · Palette generator →

#652C94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva