#652F88#652F88

#652F88 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.146 H 309.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#652F88
RGBrgb(101, 47, 136)
HSLhsl(276, 49%, 36%)
HSVhsv(276, 65%, 53%)
CMYKcmyk(25.7%, 65.4%, 0%, 46.7%)
CIE-LABlab(30.83, 40.54, -40.06)
CIE-LCHlch(30.83, 56.99, 315.34°)
OKLaboklab(42.12% 0.0929 -0.1131)
OKLCHoklch(42.12% 0.146 309.4)
XYZxyz(10.8264, 6.5775, 23.9870)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F88 #52882F
analogous
#382F88 #652F88 #882F7E
triadic
#652F88 #88652F #2F8865
tetradic
#652F88 #88382F #52882F #2F7E88
square
#652F88 #88382F #52882F #2F7E88
split-complementary
#652F88 #7E882F #2F8838
monochromatic
#21102D #431F5B #652F88 #873FB5 #A367CA

Accessibility & contrast

On white

9.07
#652F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#652F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F88
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F88#FFFFFF#000000##FFFFFF
##652F881.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#224986
Tritanopia (blue-blind)
#604157
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652f88;
/* rgb */ color: rgb(101, 47, 136);
/* oklch */ color: oklch(42.1% 0.146 309.4);
Tailwind
colors: {
  custom: {
    50: '#946bab',
    500: '#652f88',
    950: '#000000',
  },
}
SCSS
$custom: #652f88;
$custom-light: #946bab;
$custom-dark: #000000;
JSON
{
  "hex": "#652f88",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 276.404,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42123,
    "c": 0.14636,
    "h": 309.4
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#652F88
secondary
#81B161
accent
#D85085
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652F88

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

Preview Lab → · Contrast checker → · Palette generator →

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