#652598#652598

#652598 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.177 H 305.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#652598
RGBrgb(101, 37, 152)
HSLhsl(273, 61%, 37%)
HSVhsv(273, 76%, 60%)
CMYKcmyk(33.6%, 75.7%, 0%, 40.4%)
CIE-LABlab(30.30, 49.14, -50.77)
CIE-LCHlch(30.30, 70.65, 314.06°)
OKLaboklab(42.12% 0.1019 -0.1445)
OKLCHoklch(42.12% 0.177 305.2)
XYZxyz(11.6946, 6.3569, 30.3106)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652598 #589825
analogous
#2B2598 #652598 #982592
triadic
#652598 #986525 #259865
tetradic
#652598 #982B25 #589825 #259298
square
#652598 #982B25 #589825 #259298
split-complementary
#652598 #929825 #25982B
monochromatic
#240D36 #441967 #652598 #8631C9 #A35FD8

Accessibility & contrast

On white

9.25
#652598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#652598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652598
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652598#FFFFFF#000000##FFFFFF
##6525981.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#5C415D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #652598;
/* rgb */ color: rgb(101, 37, 152);
/* oklch */ color: oklch(42.1% 0.177 305.2);
Tailwind
colors: {
  custom: {
    50: '#9666b7',
    500: '#652598',
    950: '#000000',
  },
}
SCSS
$custom: #652598;
$custom-light: #9666b7;
$custom-dark: #000000;
JSON
{
  "hex": "#652598",
  "rgb": {
    "r": 101,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 273.391,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42116,
    "c": 0.17681,
    "h": 305.2
  },
  "luminance": 0.06357
}

Semantic roles & 50–950 ramp

primary
#652598
secondary
#87BD5C
accent
#E4448B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652598

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

Preview Lab → · Contrast checker → · Palette generator →

#652598 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva