#5233BC#5233BC

#5233BC is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.9% C 0.201 H 285.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5233BC
RGBrgb(82, 51, 188)
HSLhsl(254, 57%, 47%)
HSVhsv(254, 73%, 74%)
CMYKcmyk(56.4%, 72.9%, 0%, 26.3%)
CIE-LABlab(33.54, 48.84, -67.16)
CIE-LCHlch(33.54, 83.04, 306.03°)
OKLaboklab(44.86% 0.0532 -0.1933)
OKLCHoklch(44.86% 0.201 285.4)
XYZxyz(13.7379, 7.7915, 48.3472)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233BC #9DBC33
analogous
#3358BC #5233BC #9733BC
triadic
#5233BC #BC5233 #33BC52
tetradic
#5233BC #BC3358 #9DBC33 #33BC97
square
#5233BC #BC3358 #9DBC33 #33BC97
split-complementary
#5233BC #BC9733 #58BC33
monochromatic
#28195C #3D268C #5233BC #755AD2 #9D8ADF

Accessibility & contrast

On white

8.21
#5233BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5233BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233BC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233BC#FFFFFF#000000##FFFFFF
##5233BC1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#1F5874
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5233bc;
/* rgb */ color: rgb(82, 51, 188);
/* oklch */ color: oklch(44.9% 0.201 285.4);
Tailwind
colors: {
  custom: {
    50: '#8e6ed1',
    500: '#5233bc',
    950: '#000000',
  },
}
SCSS
$custom: #5233bc;
$custom-light: #8e6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5233bc",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 253.577,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44864,
    "c": 0.2005,
    "h": 285.4
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5233BC

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

Preview Lab → · Contrast checker → · Palette generator →

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