#5233BD#5233BD

#5233BD is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.202 H 285.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5233BD
RGBrgb(82, 51, 189)
HSLhsl(253, 58%, 47%)
HSVhsv(253, 73%, 74%)
CMYKcmyk(56.6%, 73%, 0%, 25.9%)
CIE-LABlab(33.64, 49.14, -67.60)
CIE-LCHlch(33.64, 83.57, 306.01°)
OKLaboklab(44.96% 0.053 -0.1946)
OKLCHoklch(44.96% 0.202 285.2)
XYZxyz(13.8460, 7.8348, 48.9169)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233BD #9EBD33
analogous
#3359BD #5233BD #9733BD
triadic
#5233BD #BD5233 #33BD52
tetradic
#5233BD #BD3359 #9EBD33 #33BD97
square
#5233BD #BD3359 #9EBD33 #33BD97
split-complementary
#5233BD #BD9733 #59BD33
monochromatic
#28195D #3D268D #5233BD #765BD3 #9E8BE0

Accessibility & contrast

On white

8.18
#5233BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5233BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233BD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233BD#FFFFFF#000000##FFFFFF
##5233BD1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#1D5975
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5233bd;
/* rgb */ color: rgb(82, 51, 189);
/* oklch */ color: oklch(45.0% 0.202 285.2);
Tailwind
colors: {
  custom: {
    50: '#8e6ed2',
    500: '#5233bd',
    950: '#000000',
  },
}
SCSS
$custom: #5233bd;
$custom-light: #8e6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#5233bd",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 253.478,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44956,
    "c": 0.20169,
    "h": 285.2
  },
  "luminance": 0.07836
}

Semantic roles & 50–950 ramp

primary
#5233BD
secondary
#BACA82
accent
#E147BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5233BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5233BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva