#523366#523366

#523366 is a dark, moderate violet. Relative luminance 0.051; OKLCH L 38.1% C 0.091 H 310.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#523366
RGBrgb(82, 51, 102)
HSLhsl(276, 33%, 30%)
HSVhsv(276, 50%, 40%)
CMYKcmyk(19.6%, 50%, 0%, 60%)
CIE-LABlab(27.08, 24.52, -24.68)
CIE-LCHlch(27.08, 34.79, 314.82°)
OKLaboklab(38.14% 0.0593 -0.0687)
OKLCHoklch(38.14% 0.091 310.8)
XYZxyz(7.0613, 5.1209, 13.1842)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523366 #476633
analogous
#393366 #523366 #663360
triadic
#523366 #665233 #336652
tetradic
#523366 #663933 #476633 #336066
square
#523366 #663933 #476633 #336066
split-complementary
#523366 #606633 #336639
monochromatic
#100A14 #311F3D #523366 #73478F #9263B1

Accessibility & contrast

On white

10.37
#523366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#523366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523366
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523366#FFFFFF#000000##FFFFFF
##5233661.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273E68
Deuteranopia (green-blind)
#304165
Tritanopia (blue-blind)
#503B47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #523366;
/* rgb */ color: rgb(82, 51, 102);
/* oklch */ color: oklch(38.1% 0.091 310.8);
Tailwind
colors: {
  custom: {
    50: '#846b92',
    500: '#523366',
    950: '#000000',
  },
}
SCSS
$custom: #523366;
$custom-light: #846b92;
$custom-dark: #000000;
JSON
{
  "hex": "#523366",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 276.471,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.38144,
    "c": 0.0908,
    "h": 310.8
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#523366
secondary
#74975E
accent
#C95E88
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #523366

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

Preview Lab → · Contrast checker → · Palette generator →

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