#652F8A#652F8A

#652F8A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.149 H 308.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#652F8A
RGBrgb(101, 47, 138)
HSLhsl(276, 49%, 36%)
HSVhsv(276, 66%, 54%)
CMYKcmyk(26.8%, 65.9%, 0%, 45.9%)
CIE-LABlab(30.96, 41.02, -41.08)
CIE-LCHlch(30.96, 58.05, 314.96°)
OKLaboklab(42.26% 0.0928 -0.116)
OKLCHoklch(42.26% 0.149 308.7)
XYZxyz(10.9699, 6.6349, 24.7426)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F8A #548A2F
analogous
#382F8A #652F8A #8A2F82
triadic
#652F8A #8A652F #2F8A65
tetradic
#652F8A #8A382F #548A2F #2F828A
square
#652F8A #8A382F #548A2F #2F828A
split-complementary
#652F8A #828A2F #2F8A38
monochromatic
#22102F #441F5C #652F8A #863FB8 #A368CC

Accessibility & contrast

On white

9.02
#652F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#652F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F8A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F8A#FFFFFF#000000##FFFFFF
##652F8A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#204A88
Tritanopia (blue-blind)
#604258
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #652f8a;
/* rgb */ color: rgb(101, 47, 138);
/* oklch */ color: oklch(42.3% 0.149 308.7);
Tailwind
colors: {
  custom: {
    50: '#946bad',
    500: '#652f8a',
    950: '#000000',
  },
}
SCSS
$custom: #652f8a;
$custom-light: #946bad;
$custom-dark: #000000;
JSON
{
  "hex": "#652f8a",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 275.604,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42264,
    "c": 0.14861,
    "h": 308.7
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#652F8A
secondary
#83B362
accent
#D94F87
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #652F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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