#522BB0#522BB0

#522BB0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.195 H 288.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#522BB0
RGBrgb(82, 43, 176)
HSLhsl(258, 61%, 43%)
HSVhsv(258, 76%, 69%)
CMYKcmyk(53.4%, 75.6%, 0%, 31%)
CIE-LABlab(31.01, 49.44, -64.20)
CIE-LCHlch(31.01, 81.03, 307.60°)
OKLaboklab(42.74% 0.0624 -0.1846)
OKLCHoklch(42.74% 0.195 288.7)
XYZxyz(12.1777, 6.6556, 41.7089)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522BB0 #89B02B
analogous
#2B46B0 #522BB0 #942BB0
triadic
#522BB0 #B0522B #2BB052
tetradic
#522BB0 #B02B46 #89B02B #2BB094
square
#522BB0 #B02B46 #89B02B #2BB094
split-complementary
#522BB0 #B0942B #46B02B
monochromatic
#24134E #3B1F7F #522BB0 #6F46D2 #9678DE

Accessibility & contrast

On white

9.01
#522BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#522BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522BB0
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522BB0#FFFFFF#000000##FFFFFF
##522BB01.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#2D506C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #522bb0;
/* rgb */ color: rgb(82, 43, 176);
/* oklch */ color: oklch(42.7% 0.195 288.7);
Tailwind
colors: {
  custom: {
    50: '#8d69c9',
    500: '#522bb0',
    950: '#000000',
  },
}
SCSS
$custom: #522bb0;
$custom-light: #8d69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#522bb0",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 257.594,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42738,
    "c": 0.19485,
    "h": 288.7
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#522BB0
secondary
#ADC671
accent
#E444B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #522BB0

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

Preview Lab → · Contrast checker → · Palette generator →

#522BB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva