#652F90#652F90

#652F90 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.155 H 306.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#652F90
RGBrgb(101, 47, 144)
HSLhsl(273, 51%, 37%)
HSVhsv(273, 67%, 56%)
CMYKcmyk(29.9%, 67.4%, 0%, 43.5%)
CIE-LABlab(31.38, 42.48, -44.11)
CIE-LCHlch(31.38, 61.24, 313.92°)
OKLaboklab(42.7% 0.0924 -0.1249)
OKLCHoklch(42.7% 0.155 306.5)
XYZxyz(11.4163, 6.8135, 27.0939)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#652F90 #5A902F
analogous
#352F90 #652F90 #902F8A
triadic
#652F90 #90652F #2F9065
tetradic
#652F90 #90352F #5A902F #2F8A90
square
#652F90 #90352F #5A902F #2F8A90
split-complementary
#652F90 #8A902F #2F9035
monochromatic
#241134 #452062 #652F90 #853EBE #A26BCF

Accessibility & contrast

On white

8.89
#652F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#652F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #652F90
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##652F90#FFFFFF#000000##FFFFFF
##652F901.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#174A8E
Tritanopia (blue-blind)
#5E445B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #652f90;
/* rgb */ color: rgb(101, 47, 144);
/* oklch */ color: oklch(42.7% 0.155 306.5);
Tailwind
colors: {
  custom: {
    50: '#956bb1',
    500: '#652f90',
    950: '#000000',
  },
}
SCSS
$custom: #652f90;
$custom-light: #956bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#652f90",
  "rgb": {
    "r": 101,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 273.402,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.15539,
    "h": 306.5
  },
  "luminance": 0.06813
}

Semantic roles & 50–950 ramp

primary
#652F90
secondary
#89B665
accent
#DA4E8C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #652F90

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

Preview Lab → · Contrast checker → · Palette generator →

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