#522383#522383

#522383 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.152 H 301.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#522383
RGBrgb(82, 35, 131)
HSLhsl(269, 58%, 33%)
HSVhsv(269, 73%, 51%)
CMYKcmyk(37.4%, 73.3%, 0%, 48.6%)
CIE-LABlab(25.67, 41.12, -45.40)
CIE-LCHlch(25.67, 61.25, 312.17°)
OKLaboklab(37.75% 0.0803 -0.1294)
OKLCHoklch(37.75% 0.152 301.8)
XYZxyz(8.1765, 4.6346, 21.9321)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522383 #548323
analogous
#232483 #522383 #822383
triadic
#522383 #835223 #238352
tetradic
#522383 #832324 #548323 #238382
square
#522383 #832324 #548323 #238382
split-complementary
#522383 #838223 #248323
monochromatic
#160922 #341653 #522383 #7030B3 #8F50D0

Accessibility & contrast

On white

10.90
#522383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#522383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522383
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522383#FFFFFF#000000##FFFFFF
##5223831.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#483A50
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522383;
/* rgb */ color: rgb(82, 35, 131);
/* oklch */ color: oklch(37.7% 0.152 301.8);
Tailwind
colors: {
  custom: {
    50: '#8762a8',
    500: '#522383',
    950: '#000000',
  },
}
SCSS
$custom: #522383;
$custom-light: #8762a8;
$custom-dark: #000000;
JSON
{
  "hex": "#522383",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 269.375,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37748,
    "c": 0.15225,
    "h": 301.8
  },
  "luminance": 0.04635
}

Semantic roles & 50–950 ramp

primary
#522383
secondary
#82B44E
accent
#E14796
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #522383

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

Preview Lab → · Contrast checker → · Palette generator →

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