#532698#532698

#532698 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.173 H 295.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#532698
RGBrgb(83, 38, 152)
HSLhsl(264, 60%, 37%)
HSVhsv(264, 75%, 60%)
CMYKcmyk(45.4%, 75%, 0%, 40.4%)
CIE-LABlab(28.09, 45.41, -54.46)
CIE-LCHlch(28.09, 70.91, 309.82°)
OKLaboklab(40.05% 0.0743 -0.156)
OKLCHoklch(40.05% 0.173 295.5)
XYZxyz(9.9264, 5.4920, 30.2367)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532698 #6B9826
analogous
#263298 #532698 #8C2698
triadic
#532698 #985326 #269853
tetradic
#532698 #982632 #6B9826 #26988C
square
#532698 #982632 #6B9826 #26988C
split-complementary
#532698 #988C26 #329826
monochromatic
#1E0E36 #381A67 #532698 #6E32C9 #9061D7

Accessibility & contrast

On white

10.01
#532698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#532698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532698
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532698#FFFFFF#000000##FFFFFF
##5326981.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#40445D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532698;
/* rgb */ color: rgb(83, 38, 152);
/* oklch */ color: oklch(40.0% 0.173 295.5);
Tailwind
colors: {
  custom: {
    50: '#8a65b7',
    500: '#532698',
    950: '#000000',
  },
}
SCSS
$custom: #532698;
$custom-light: #8a65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532698",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 263.684,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.17275,
    "h": 295.5
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#532698
secondary
#97BD5D
accent
#E345A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532698

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

Preview Lab → · Contrast checker → · Palette generator →

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