#5236A9#5236A9

#5236A9 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.174 H 288.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5236A9
RGBrgb(82, 54, 169)
HSLhsl(255, 52%, 44%)
HSVhsv(255, 68%, 66%)
CMYKcmyk(51.5%, 68%, 0%, 33.7%)
CIE-LABlab(32.47, 41.61, -57.62)
CIE-LCHlch(32.47, 71.07, 305.84°)
OKLaboklab(43.59% 0.0542 -0.1653)
OKLCHoklch(43.59% 0.174 288.1)
XYZxyz(11.9582, 7.2962, 38.3066)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5236A9 #8DA936
analogous
#3653A9 #5236A9 #8B36A9
triadic
#5236A9 #A95236 #36A952
tetradic
#5236A9 #A93653 #8DA936 #36A98B
square
#5236A9 #A93653 #8DA936 #36A98B
split-complementary
#5236A9 #A98B36 #53A936
monochromatic
#25184C #3B277B #5236A9 #7054C8 #9782D7

Accessibility & contrast

On white

8.54
#5236A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5236A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5236A9
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5236A9#FFFFFF#000000##FFFFFF
##5236A91.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#32536B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5236a9;
/* rgb */ color: rgb(82, 54, 169);
/* oklch */ color: oklch(43.6% 0.174 288.1);
Tailwind
colors: {
  custom: {
    50: '#8b6fc3',
    500: '#5236a9',
    950: '#000000',
  },
}
SCSS
$custom: #5236a9;
$custom-light: #8b6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#5236a9",
  "rgb": {
    "r": 82,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 254.609,
    "s": 51.57,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.17399,
    "h": 288.1
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#5236A9
secondary
#AFC17A
accent
#DB4DB8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5236A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5236A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva