#5330B5#5330B5

#5330B5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.9% C 0.195 H 287.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5330B5
RGBrgb(83, 48, 181)
HSLhsl(256, 58%, 45%)
HSVhsv(256, 73%, 71%)
CMYKcmyk(54.1%, 73.5%, 0%, 29%)
CIE-LABlab(32.45, 48.51, -64.80)
CIE-LCHlch(32.45, 80.95, 306.82°)
OKLaboklab(43.92% 0.0587 -0.1864)
OKLCHoklch(43.92% 0.195 287.5)
XYZxyz(12.9623, 7.2884, 44.4309)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330B5 #92B530
analogous
#3050B5 #5330B5 #9530B5
triadic
#5330B5 #B55330 #30B553
tetradic
#5330B5 #B53050 #92B530 #30B595
square
#5330B5 #B53050 #92B530 #30B595
split-complementary
#5330B5 #B59530 #50B530
monochromatic
#271654 #3D2385 #5330B5 #7351D1 #9A82DE

Accessibility & contrast

On white

8.54
#5330B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5330B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330B5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330B5#FFFFFF#000000##FFFFFF
##5330B51.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)
#004FB9
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#2B5470
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5330b5;
/* rgb */ color: rgb(83, 48, 181);
/* oklch */ color: oklch(43.9% 0.195 287.5);
Tailwind
colors: {
  custom: {
    50: '#8e6ccc',
    500: '#5330b5',
    950: '#000000',
  },
}
SCSS
$custom: #5330b5;
$custom-light: #8e6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#5330b5",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 255.789,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43921,
    "c": 0.19537,
    "h": 287.5
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#5330B5
secondary
#B3C77A
accent
#E146B9
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #5330B5

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

Preview Lab → · Contrast checker → · Palette generator →

#5330B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva