#652A94#652A94

#652A94 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.167 H 305.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#652A94
RGBrgb(101, 42, 148)
HSLhsl(273, 56%, 37%)
HSVhsv(273, 72%, 58%)
CMYKcmyk(31.8%, 71.6%, 0%, 42%)
CIE-LABlab(30.79, 45.92, -47.52)
CIE-LCHlch(30.79, 66.08, 314.01°)
OKLaboklab(42.37% 0.0976 -0.135)
OKLCHoklch(42.37% 0.167 305.9)
XYZxyz(11.5389, 6.5608, 28.6697)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652A94 #59942A
analogous
#302A94 #652A94 #942A8E
triadic
#652A94 #94652A #2A9465
tetradic
#652A94 #94302A #59942A #2A8E94
square
#652A94 #94302A #59942A #2A8E94
split-complementary
#652A94 #8E942A #2A9430
monochromatic
#240F35 #441C64 #652A94 #8638C4 #A265D3

Accessibility & contrast

On white

9.08
#652A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#652A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652A94
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652A94#FFFFFF#000000##FFFFFF
##652A941.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#014992
Tritanopia (blue-blind)
#5D425C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #652a94;
/* rgb */ color: rgb(101, 42, 148);
/* oklch */ color: oklch(42.4% 0.167 305.9);
Tailwind
colors: {
  custom: {
    50: '#9569b4',
    500: '#652a94',
    950: '#000000',
  },
}
SCSS
$custom: #652a94;
$custom-light: #9569b4;
$custom-dark: #000000;
JSON
{
  "hex": "#652a94",
  "rgb": {
    "r": 101,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 273.396,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.16653,
    "h": 305.9
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#652A94
secondary
#88B960
accent
#DF498B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #652A94

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

Preview Lab → · Contrast checker → · Palette generator →

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