#5330B8#5330B8

#5330B8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.199 H 286.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5330B8
RGBrgb(83, 48, 184)
HSLhsl(255, 59%, 45%)
HSVhsv(255, 74%, 72%)
CMYKcmyk(54.9%, 73.9%, 0%, 27.8%)
CIE-LABlab(32.73, 49.37, -66.13)
CIE-LCHlch(32.73, 82.53, 306.74°)
OKLaboklab(44.2% 0.0579 -0.1902)
OKLCHoklch(44.2% 0.199 286.9)
XYZxyz(13.2734, 7.4129, 46.0695)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330B8 #95B830
analogous
#3051B8 #5330B8 #9730B8
triadic
#5330B8 #B85330 #30B853
tetradic
#5330B8 #B83051 #95B830 #30B897
square
#5330B8 #B83051 #95B830 #30B897
split-complementary
#5330B8 #B89730 #51B830
monochromatic
#271757 #3D2387 #5330B8 #7453D2 #9B84DF

Accessibility & contrast

On white

8.46
#5330B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5330B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330B8
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330B8#FFFFFF#000000##FFFFFF
##5330B81.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#275571
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5330b8;
/* rgb */ color: rgb(83, 48, 184);
/* oklch */ color: oklch(44.2% 0.199 286.9);
Tailwind
colors: {
  custom: {
    50: '#8e6cce',
    500: '#5330b8',
    950: '#000000',
  },
}
SCSS
$custom: #5330b8;
$custom-light: #8e6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#5330b8",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 255.441,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44199,
    "c": 0.19888,
    "h": 286.9
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#5330B8
secondary
#B4C87C
accent
#E246BA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #5330B8

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

Preview Lab → · Contrast checker → · Palette generator →

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