#522B67#522B67

#522B67 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.8% C 0.107 H 312.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#522B67
RGBrgb(82, 43, 103)
HSLhsl(279, 41%, 29%)
HSVhsv(279, 58%, 40%)
CMYKcmyk(20.4%, 58.3%, 0%, 59.6%)
CIE-LABlab(25.26, 29.62, -28.19)
CIE-LCHlch(25.26, 40.89, 316.42°)
OKLaboklab(36.82% 0.0718 -0.0789)
OKLCHoklch(36.82% 0.107 312.3)
XYZxyz(6.7913, 4.5010, 13.3404)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B67 #40672B
analogous
#342B67 #522B67 #672B5E
triadic
#522B67 #67522B #2B6752
tetradic
#522B67 #67342B #40672B #2B5E67
square
#522B67 #67342B #40672B #2B5E67
split-complementary
#522B67 #5E672B #2B6734
monochromatic
#110916 #30193C #522B67 #743D92 #9555B8

Accessibility & contrast

On white

11.05
#522B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#522B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B67
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B67#FFFFFF#000000##FFFFFF
##522B671.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A69
Deuteranopia (green-blind)
#283D65
Tritanopia (blue-blind)
#503544
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522b67;
/* rgb */ color: rgb(82, 43, 103);
/* oklch */ color: oklch(36.8% 0.107 312.3);
Tailwind
colors: {
  custom: {
    50: '#846693',
    500: '#522b67',
    950: '#000000',
  },
}
SCSS
$custom: #522b67;
$custom-light: #846693;
$custom-dark: #000000;
JSON
{
  "hex": "#522b67",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 103
  },
  "hsl": {
    "h": 279,
    "s": 41.096,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3682,
    "c": 0.10671,
    "h": 312.3
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#522B67
secondary
#6D9955
accent
#D15782
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B060D
muted
#7C7A7E

Preview Lab

Preview with #522B67

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

Preview Lab → · Contrast checker → · Palette generator →

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