#522695#522695

#522695 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.169 H 295.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#522695
RGBrgb(82, 38, 149)
HSLhsl(264, 59%, 37%)
HSVhsv(264, 74%, 58%)
CMYKcmyk(45%, 74.5%, 0%, 41.6%)
CIE-LABlab(27.71, 44.42, -53.25)
CIE-LCHlch(27.71, 69.35, 309.83°)
OKLaboklab(39.67% 0.0735 -0.1525)
OKLCHoklch(39.67% 0.169 295.7)
XYZxyz(9.5962, 5.3498, 28.9550)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522695 #699526
analogous
#263295 #522695 #8A2695
triadic
#522695 #955226 #269552
tetradic
#522695 #952632 #699526 #26958A
square
#522695 #952632 #699526 #26958A
split-complementary
#522695 #958A26 #329526
monochromatic
#1C0D33 #371A64 #522695 #6D32C6 #8E5FD6

Accessibility & contrast

On white

10.14
#522695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#522695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522695
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522695#FFFFFF#000000##FFFFFF
##5226951.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#40435B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #522695;
/* rgb */ color: rgb(82, 38, 149);
/* oklch */ color: oklch(39.7% 0.169 295.7);
Tailwind
colors: {
  custom: {
    50: '#8965b5',
    500: '#522695',
    950: '#000000',
  },
}
SCSS
$custom: #522695;
$custom-light: #8965b5;
$custom-dark: #000000;
JSON
{
  "hex": "#522695",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 263.784,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39666,
    "c": 0.16923,
    "h": 295.7
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#522695
secondary
#95BB5B
accent
#E345A4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522695

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

Preview Lab → · Contrast checker → · Palette generator →

#522695 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva