#652F94#652F94

#652F94 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.160 H 305.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#652F94
RGBrgb(101, 47, 148)
HSLhsl(272, 52%, 38%)
HSVhsv(272, 68%, 58%)
CMYKcmyk(31.8%, 68.2%, 0%, 42%)
CIE-LABlab(31.67, 43.47, -46.10)
CIE-LCHlch(31.67, 63.36, 313.31°)
OKLaboklab(43% 0.092 -0.1308)
OKLCHoklch(43% 0.16 305.1)
XYZxyz(11.7275, 6.9379, 28.7326)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F94 #5E942F
analogous
#322F94 #652F94 #942F90
triadic
#652F94 #94652F #2F9465
tetradic
#652F94 #94322F #5E942F #2F9094
square
#652F94 #94322F #5E942F #2F9094
split-complementary
#652F94 #90942F #2F9432
monochromatic
#261137 #452066 #652F94 #853EC2 #A26DD1

Accessibility & contrast

On white

8.80
#652F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#652F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F94
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F94#FFFFFF#000000##FFFFFF
##652F941.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#0F4B92
Tritanopia (blue-blind)
#5D455D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652f94;
/* rgb */ color: rgb(101, 47, 148);
/* oklch */ color: oklch(43.0% 0.160 305.1);
Tailwind
colors: {
  custom: {
    50: '#956bb4',
    500: '#652f94',
    950: '#000000',
  },
}
SCSS
$custom: #652f94;
$custom-light: #956bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#652f94",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 272.079,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42995,
    "c": 0.15989,
    "h": 305.1
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#652F94
secondary
#8DB867
accent
#DB4D8F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652F94

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

Preview Lab → · Contrast checker → · Palette generator →

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