#522674#522674

#522674 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.131 H 307.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#522674
RGBrgb(82, 38, 116)
HSLhsl(274, 51%, 30%)
HSVhsv(274, 67%, 45%)
CMYKcmyk(29.3%, 67.2%, 0%, 54.5%)
CIE-LABlab(25.08, 35.71, -36.85)
CIE-LCHlch(25.08, 51.31, 314.10°)
OKLaboklab(36.96% 0.0788 -0.1042)
OKLCHoklch(36.96% 0.131 307.1)
XYZxyz(7.3245, 4.4411, 16.9910)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522674 #487426
analogous
#2B2674 #522674 #74266F
triadic
#522674 #745226 #267452
tetradic
#522674 #742B26 #487426 #266F74
square
#522674 #742B26 #487426 #266F74
split-complementary
#522674 #6F7426 #26742B
monochromatic
#110818 #311746 #522674 #7335A2 #924FC5

Accessibility & contrast

On white

11.12
#522674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#522674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522674
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522674#FFFFFF#000000##FFFFFF
##5226741.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#163C72
Tritanopia (blue-blind)
#4C3649
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522674;
/* rgb */ color: rgb(82, 38, 116);
/* oklch */ color: oklch(37.0% 0.131 307.1);
Tailwind
colors: {
  custom: {
    50: '#86639c',
    500: '#522674',
    950: '#000000',
  },
}
SCSS
$custom: #522674;
$custom-light: #86639c;
$custom-dark: #000000;
JSON
{
  "hex": "#522674",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 273.846,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36964,
    "c": 0.13065,
    "h": 307.1
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

primary
#522674
secondary
#75A64F
accent
#DA4E8B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #522674

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

Preview Lab → · Contrast checker → · Palette generator →

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