#522FC0#522FC0

#522FC0 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.209 H 285.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#522FC0
RGBrgb(82, 47, 192)
HSLhsl(254, 61%, 47%)
HSVhsv(254, 76%, 75%)
CMYKcmyk(57.3%, 75.5%, 0%, 24.7%)
CIE-LABlab(33.20, 52.02, -70.07)
CIE-LCHlch(33.20, 87.27, 306.59°)
OKLaboklab(44.74% 0.0552 -0.2018)
OKLCHoklch(44.74% 0.209 285.3)
XYZxyz(14.0077, 7.6318, 50.5939)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522FC0 #9DC02F
analogous
#2F55C0 #522FC0 #9B2FC0
triadic
#522FC0 #C0522F #2FC052
tetradic
#522FC0 #C02F55 #9DC02F #2FC09B
square
#522FC0 #C02F55 #9DC02F #2FC09B
split-complementary
#522FC0 #C09B2F #55C02F
monochromatic
#28175E #3D238F #522FC0 #7556D6 #9D88E2

Accessibility & contrast

On white

8.31
#522FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#522FC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522FC0
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522FC0#FFFFFF#000000##FFFFFF
##522FC01.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#004ABD
Tritanopia (blue-blind)
#195876
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #522fc0;
/* rgb */ color: rgb(82, 47, 192);
/* oklch */ color: oklch(44.7% 0.209 285.3);
Tailwind
colors: {
  custom: {
    50: '#8f6cd4',
    500: '#522fc0',
    950: '#000000',
  },
}
SCSS
$custom: #522fc0;
$custom-light: #8f6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#522fc0",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 254.483,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44737,
    "c": 0.20924,
    "h": 285.3
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#522FC0
secondary
#B9CB7F
accent
#E444BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #522FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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