#522B70#522B70

#522B70 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.4% C 0.118 H 307.8°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#522B70
RGBrgb(82, 43, 112)
HSLhsl(274, 45%, 30%)
HSVhsv(274, 62%, 44%)
CMYKcmyk(26.8%, 61.6%, 0%, 56.1%)
CIE-LABlab(25.84, 31.89, -33.07)
CIE-LCHlch(25.84, 45.94, 313.95°)
OKLaboklab(37.43% 0.0722 -0.0932)
OKLCHoklch(37.43% 0.118 307.8)
XYZxyz(7.2676, 4.6915, 15.8488)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B70 #49702B
analogous
#2F2B70 #522B70 #702B6B
triadic
#522B70 #70522B #2B7052
tetradic
#522B70 #702F2B #49702B #2B6B70
square
#522B70 #702F2B #49702B #2B6B70
split-complementary
#522B70 #6B702B #2B702F
monochromatic
#110918 #321A44 #522B70 #723C9C #9157BE

Accessibility & contrast

On white

10.83
#522B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#522B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B70
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B70#FFFFFF#000000##FFFFFF
##522B701.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C72
Deuteranopia (green-blind)
#213E6E
Tritanopia (blue-blind)
#4D3849
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522b70;
/* rgb */ color: rgb(82, 43, 112);
/* oklch */ color: oklch(37.4% 0.118 307.8);
Tailwind
colors: {
  custom: {
    50: '#856699',
    500: '#522b70',
    950: '#000000',
  },
}
SCSS
$custom: #522b70;
$custom-light: #856699;
$custom-dark: #000000;
JSON
{
  "hex": "#522b70",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 273.913,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37426,
    "c": 0.11788,
    "h": 307.8
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#522B70
secondary
#76A255
accent
#D4548C
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522B70

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

Preview Lab → · Contrast checker → · Palette generator →

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