#652398#652398

#652398 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.179 H 305.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#652398
RGBrgb(101, 35, 152)
HSLhsl(274, 63%, 37%)
HSVhsv(274, 77%, 60%)
CMYKcmyk(33.6%, 77%, 0%, 40.4%)
CIE-LABlab(30.00, 49.98, -51.25)
CIE-LCHlch(30.00, 71.59, 314.28°)
OKLaboklab(41.91% 0.1038 -0.1459)
OKLCHoklch(41.91% 0.179 305.4)
XYZxyz(11.6341, 6.2358, 30.2904)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652398 #569823
analogous
#2A2398 #652398 #982391
triadic
#652398 #986523 #239865
tetradic
#652398 #982A23 #569823 #239198
square
#652398 #982A23 #569823 #239198
split-complementary
#652398 #919823 #23982A
monochromatic
#230C35 #441866 #652398 #862ECA #A35CD9

Accessibility & contrast

On white

9.34
#652398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#652398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652398
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652398#FFFFFF#000000##FFFFFF
##6523981.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #652398;
/* rgb */ color: rgb(101, 35, 152);
/* oklch */ color: oklch(41.9% 0.179 305.4);
Tailwind
colors: {
  custom: {
    50: '#9665b7',
    500: '#652398',
    950: '#000000',
  },
}
SCSS
$custom: #652398;
$custom-light: #9665b7;
$custom-dark: #000000;
JSON
{
  "hex": "#652398",
  "rgb": {
    "r": 101,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 273.846,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.17904,
    "h": 305.4
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#652398
secondary
#85BE59
accent
#E64289
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652398

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

Preview Lab → · Contrast checker → · Palette generator →

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