#5330B3#5330B3

#5330B3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.193 H 287.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#5330B3
RGBrgb(83, 48, 179)
HSLhsl(256, 58%, 45%)
HSVhsv(256, 73%, 70%)
CMYKcmyk(53.6%, 73.2%, 0%, 29.8%)
CIE-LABlab(32.27, 47.94, -63.91)
CIE-LCHlch(32.27, 79.89, 306.87°)
OKLaboklab(43.74% 0.0591 -0.1837)
OKLCHoklch(43.74% 0.193 287.8)
XYZxyz(12.7585, 7.2069, 43.3579)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330B3 #90B330
analogous
#304EB3 #5330B3 #9530B3
triadic
#5330B3 #B35330 #30B353
tetradic
#5330B3 #B3304E #90B330 #30B395
square
#5330B3 #B3304E #90B330 #30B395
split-complementary
#5330B3 #B39530 #4EB330
monochromatic
#261652 #3D2383 #5330B3 #7250D0 #9980DD

Accessibility & contrast

On white

8.60
#5330B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5330B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330B3
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330B3#FFFFFF#000000##FFFFFF
##5330B31.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#2D536F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5330b3;
/* rgb */ color: rgb(83, 48, 179);
/* oklch */ color: oklch(43.7% 0.193 287.8);
Tailwind
colors: {
  custom: {
    50: '#8d6ccb',
    500: '#5330b3',
    950: '#000000',
  },
}
SCSS
$custom: #5330b3;
$custom-light: #8d6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#5330b3",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 256.031,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.19303,
    "h": 287.8
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#5330B3
secondary
#B1C679
accent
#E147B8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5330B3

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

Preview Lab → · Contrast checker → · Palette generator →

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