#5330B2#5330B2

#5330B2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.192 H 288.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5330B2
RGBrgb(83, 48, 178)
HSLhsl(256, 58%, 44%)
HSVhsv(256, 73%, 70%)
CMYKcmyk(53.4%, 73%, 0%, 30.2%)
CIE-LABlab(32.18, 47.65, -63.46)
CIE-LCHlch(32.18, 79.36, 306.90°)
OKLaboklab(43.65% 0.0594 -0.1824)
OKLCHoklch(43.65% 0.192 288)
XYZxyz(12.6577, 7.1666, 42.8272)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330B2 #8FB230
analogous
#304EB2 #5330B2 #9430B2
triadic
#5330B2 #B25330 #30B253
tetradic
#5330B2 #B2304E #8FB230 #30B294
square
#5330B2 #B2304E #8FB230 #30B294
split-complementary
#5330B2 #B29430 #4EB230
monochromatic
#261652 #3D2382 #5330B2 #7250D0 #9980DD

Accessibility & contrast

On white

8.63
#5330B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5330B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330B2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330B2#FFFFFF#000000##FFFFFF
##5330B21.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#2D536E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5330b2;
/* rgb */ color: rgb(83, 48, 178);
/* oklch */ color: oklch(43.6% 0.192 288.0);
Tailwind
colors: {
  custom: {
    50: '#8d6cca',
    500: '#5330b2',
    950: '#000000',
  },
}
SCSS
$custom: #5330b2;
$custom-light: #8d6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#5330b2",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 256.154,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43646,
    "c": 0.19185,
    "h": 288
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#5330B2
secondary
#B1C678
accent
#E147B7
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5330B2

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

Preview Lab → · Contrast checker → · Palette generator →

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