#652895#652895

#652895 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.170 H 305.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#652895
RGBrgb(101, 40, 149)
HSLhsl(274, 58%, 37%)
HSVhsv(274, 73%, 58%)
CMYKcmyk(32.2%, 73.2%, 0%, 41.6%)
CIE-LABlab(30.53, 47.09, -48.55)
CIE-LCHlch(30.53, 67.63, 314.12°)
OKLaboklab(42.21% 0.0995 -0.138)
OKLCHoklch(42.21% 0.17 305.8)
XYZxyz(11.5492, 6.4543, 29.0653)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652895 #589528
analogous
#2F2895 #652895 #95288F
triadic
#652895 #956528 #289565
tetradic
#652895 #952F28 #589528 #288F95
square
#652895 #952F28 #589528 #288F95
split-complementary
#652895 #8F9528 #28952F
monochromatic
#240E35 #441B65 #652895 #8635C5 #A362D5

Accessibility & contrast

On white

9.17
#652895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#652895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652895
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652895#FFFFFF#000000##FFFFFF
##6528951.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#5C425C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652895;
/* rgb */ color: rgb(101, 40, 149);
/* oklch */ color: oklch(42.2% 0.170 305.8);
Tailwind
colors: {
  custom: {
    50: '#9568b5',
    500: '#652895',
    950: '#000000',
  },
}
SCSS
$custom: #652895;
$custom-light: #9568b5;
$custom-dark: #000000;
JSON
{
  "hex": "#652895",
  "rgb": {
    "r": 101,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 273.578,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42209,
    "c": 0.17011,
    "h": 305.8
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#652895
secondary
#87BB5E
accent
#E1478B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652895

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

Preview Lab → · Contrast checker → · Palette generator →

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