#522E67#522E67

#522E67 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.3% C 0.101 H 311.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#522E67
RGBrgb(82, 46, 103)
HSLhsl(278, 38%, 29%)
HSVhsv(278, 55%, 40%)
CMYKcmyk(20.4%, 55.3%, 0%, 59.6%)
CIE-LABlab(25.94, 27.84, -27.11)
CIE-LCHlch(25.94, 38.86, 315.75°)
OKLaboklab(37.32% 0.0673 -0.0758)
OKLCHoklch(37.32% 0.101 311.6)
XYZxyz(6.9044, 4.7272, 13.3781)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E67 #43672E
analogous
#362E67 #522E67 #672E60
triadic
#522E67 #67522E #2E6752
tetradic
#522E67 #67362E #43672E #2E6067
square
#522E67 #67362E #43672E #2E6067
split-complementary
#522E67 #60672E #2E6736
monochromatic
#110915 #301B3D #522E67 #744191 #945AB5

Accessibility & contrast

On white

10.79
#522E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#522E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E67
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E67#FFFFFF#000000##FFFFFF
##522E671.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C69
Deuteranopia (green-blind)
#2A3E66
Tritanopia (blue-blind)
#503746
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522e67;
/* rgb */ color: rgb(82, 46, 103);
/* oklch */ color: oklch(37.3% 0.101 311.6);
Tailwind
colors: {
  custom: {
    50: '#846893',
    500: '#522e67',
    950: '#000000',
  },
}
SCSS
$custom: #522e67;
$custom-light: #846893;
$custom-dark: #000000;
JSON
{
  "hex": "#522e67",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 277.895,
    "s": 38.255,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37321,
    "c": 0.10135,
    "h": 311.6
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#522E67
secondary
#709958
accent
#CE5A85
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522E67

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

Preview Lab → · Contrast checker → · Palette generator →

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