#5331B3#5331B3

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

Color values

HEX#5331B3
RGBrgb(83, 49, 179)
HSLhsl(256, 57%, 45%)
HSVhsv(256, 73%, 70%)
CMYKcmyk(53.6%, 72.6%, 0%, 29.8%)
CIE-LABlab(32.46, 47.42, -63.61)
CIE-LCHlch(32.46, 79.34, 306.70°)
OKLaboklab(43.87% 0.0583 -0.1829)
OKLCHoklch(43.87% 0.192 287.7)
XYZxyz(12.7999, 7.2897, 43.3717)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5331B3 #91B331
analogous
#3150B3 #5331B3 #9431B3
triadic
#5331B3 #B35331 #31B353
tetradic
#5331B3 #B33150 #91B331 #31B394
square
#5331B3 #B33150 #91B331 #31B394
split-complementary
#5331B3 #B39431 #50B331
monochromatic
#261753 #3D2483 #5331B3 #7352D0 #9982DD

Accessibility & contrast

On white

8.54
#5331B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5331B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5331B3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5331B3#FFFFFF#000000##FFFFFF
##5331B31.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)
#004FB7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#2C546F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5331b3;
/* rgb */ color: rgb(83, 49, 179);
/* oklch */ color: oklch(43.9% 0.192 287.7);
Tailwind
colors: {
  custom: {
    50: '#8d6ccb',
    500: '#5331b3',
    950: '#000000',
  },
}
SCSS
$custom: #5331b3;
$custom-light: #8d6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#5331b3",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 255.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43868,
    "c": 0.19194,
    "h": 287.7
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#5331B3
secondary
#B2C67A
accent
#E048B8
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5331B3

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

Preview Lab → · Contrast checker → · Palette generator →

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