#5233BF#5233BF

#5233BF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.204 H 284.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5233BF
RGBrgb(82, 51, 191)
HSLhsl(253, 58%, 47%)
HSVhsv(253, 73%, 75%)
CMYKcmyk(57.1%, 73.3%, 0%, 25.1%)
CIE-LABlab(33.82, 49.72, -68.47)
CIE-LCHlch(33.82, 84.62, 305.98°)
OKLaboklab(45.14% 0.0525 -0.1972)
OKLCHoklch(45.14% 0.204 284.9)
XYZxyz(14.0646, 7.9222, 50.0681)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5233BF #A0BF33
analogous
#335ABF #5233BF #9833BF
triadic
#5233BF #BF5233 #33BF52
tetradic
#5233BF #BF335A #A0BF33 #33BF98
square
#5233BF #BF335A #A0BF33 #33BF98
split-complementary
#5233BF #BF9833 #5ABF33
monochromatic
#29195E #3D268F #5233BF #765CD3 #9F8CE0

Accessibility & contrast

On white

8.13
#5233BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5233BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5233BF
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5233BF#FFFFFF#000000##FFFFFF
##5233BF1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#1A5A76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5233bf;
/* rgb */ color: rgb(82, 51, 191);
/* oklch */ color: oklch(45.1% 0.204 284.9);
Tailwind
colors: {
  custom: {
    50: '#8e6ed3',
    500: '#5233bf',
    950: '#000000',
  },
}
SCSS
$custom: #5233bf;
$custom-light: #8e6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5233bf",
  "rgb": {
    "r": 82,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 253.286,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45143,
    "c": 0.20404,
    "h": 284.9
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#5233BF
secondary
#BBCB83
accent
#E147BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5233BF

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

Preview Lab → · Contrast checker → · Palette generator →

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